This commit is contained in:
2019-06-08 14:02:41 +10:00
parent 7d8756bba5
commit 9a42ef54f3
+1 -1
View File
@@ -24,7 +24,7 @@ const ownedRequest = (connection) => (req, res) => {
if (err) throw err; if (err) throw err;
if (credentials[0].total !== 1) { if (credentials[0].total !== 1) {
res.status(400).write(log('Invalid badges owned credentials', JSON.stringify(body), body.id, body.token)); res.status(400).write(log('Invalid badges owned credentials', JSON.stringify(req.body), req.body.id, req.body.token));
res.end(); res.end();
return; return;
} }