debugging
This commit is contained in:
parent
50a34b5ea8
commit
5b60b9c4d2
@ -32,6 +32,7 @@ router.post('/:site/*', utils.limiter(20), (req, res) => {
|
||||
// validation
|
||||
const user_token = req.body.token;
|
||||
const site = db.siteInfo(site_url);
|
||||
console.log(site);
|
||||
|
||||
if (user_token !== site.info.comment_token) {
|
||||
res.status(403).json("תשובת סינון שגויה.");
|
||||
|
Loading…
Reference in New Issue
Block a user