Skip to content
Snippets Groups Projects
Commit 62f70cfc authored by Fabien Zucchet's avatar Fabien Zucchet
Browse files

debug

parent ffb4a5c0
Branches
No related tags found
No related merge requests found
......@@ -180,7 +180,7 @@ async function isAdminMiddleware(req, res, next) {
const login = req.session.login || '';
var query = "SELECT login FROM Admin WHERE deleted = 0;"
const admins = simple_query(query, []);
const admins = await simple_query(query, []);
console.log("admins :");
console.log(admins);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment