Commit 5c2635ec authored by Anton Akhmerov's avatar Anton Akhmerov

process a request for missing exam

parent db9b5aef
Pipeline #10756 passed with stages
in 2 minutes 28 seconds
......@@ -78,6 +78,9 @@ class Exams(Resource):
"""
exam = Exam[exam_id]
if exam is None:
return dict(status=404, message='Exam does not exist.'), 404
submissions = [
{
'id': sub.copy_number,
......
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