Added individual result correct/incorrect flag
This commit is contained in:
@ -75,7 +75,7 @@ def start():
|
||||
'test_code': test_code,
|
||||
'user_code': user_code
|
||||
}
|
||||
if db.entries.insert(entry):
|
||||
if db.entries.insert_one(entry):
|
||||
session['_id'] = entry['_id']
|
||||
return jsonify({
|
||||
'success': 'Received and validated test and/or user code. Redirecting to test client.',
|
||||
|
Reference in New Issue
Block a user