another debug
This commit is contained in:
parent
14f028e38e
commit
1172b86659
@ -22,12 +22,13 @@ router.post('/:site/*', utils.limiter(20), (req, res) => {
|
||||
return;
|
||||
}
|
||||
|
||||
let comment = {
|
||||
const comment = {
|
||||
user: utils.escapeHtml(req.body.name) || "Anonymous",
|
||||
user_website: utils.escapeHtml(req.body.website) || null,
|
||||
message: utils.escapeHtml(req.body.message),
|
||||
reply_to: req.body.reply_to || null,
|
||||
};
|
||||
console.log(comment);
|
||||
|
||||
// validation
|
||||
const user_token = req.body.token;
|
||||
|
Loading…
Reference in New Issue
Block a user