Skip to content
Snippets Groups Projects
Commit 1067646c authored by Hugo Kerstens's avatar Hugo Kerstens
Browse files

Add response for succesful exam deletion

parent 084bcc7d
No related branches found
No related tags found
1 merge request!142Fix exam deletion bug
...@@ -58,6 +58,8 @@ class Exams(Resource): ...@@ -58,6 +58,8 @@ class Exams(Resource):
db.session.delete(exam) db.session.delete(exam)
db.session.commit() db.session.commit()
return dict(status=200, message="ok"), 200
def _get_all(self): def _get_all(self):
"""get list of uploaded exams. """get list of uploaded exams.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment