Commit 87d88c26 by Иван Кубота

fix

parent e5c1b89a
......@@ -171,7 +171,7 @@ module.exports = {
(!user_is_top && countCorrect >= attempt.top_count)
);
await asyncPool(`update users set is_top=? where id=;`, [is_top, userID]);
await asyncPool(`update users set is_top=? where id=?;`, [is_top, userID]);
return await asyncPool('UPDATE quiz_attempt SET ' +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment