Another batch of important updates and fixes
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
const db = require('../db')
|
||||
|
||||
const Misc = {}
|
||||
|
||||
// Log a successful honeypot catch.
|
||||
Misc.logHoneypotCatch = async body => {
|
||||
await db.query('INSERT INTO honeypot_log (body_content) VALUES ($1)', [body])
|
||||
}
|
||||
|
||||
module.exports = Misc
|
||||
Reference in New Issue
Block a user