Skip to content

Commit

Permalink
Merge branch 'frontend/overview-display-names' of github.com:SELab-2/…
Browse files Browse the repository at this point in the history
…UGent-3 into frontend/overview-display-names
  • Loading branch information
AronBuzogany committed May 9, 2024
2 parents fd53d2e + 65313a9 commit 52c615e
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ def get_last_submissions_per_user(project_id):
(Submission.submission_time == latest_submissions.c.max_time)
).all()

if not submissions:
return {"message": "No submissions found", "url": BASE_URL}, 404

return {"message": "Resource fetched succesfully", "data": submissions}, 200

class SubmissionDownload(Resource):
Expand Down

0 comments on commit 52c615e

Please sign in to comment.