Commit f9093a3b by Иван Кубота

grh

parent 01fc4a3c
...@@ -146,7 +146,7 @@ module.exports = { ...@@ -146,7 +146,7 @@ module.exports = {
return await asyncPool('UPDATE quiz_attempt SET ' + return await asyncPool('UPDATE quiz_attempt SET ' +
'count_correct=?, max_chain=?, completed=?, completed_at=?' + 'count_correct=?, max_chain=?, completed=?, completed_at=?' +
' WHERE attempt_id=?;', [countCorrect, maxChain, 1, new Date(), q[0].attempt_id]) ' WHERE id=?;', [countCorrect, maxChain, 1, new Date(), q[0].attempt_id])
}else{ }else{
......
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