From 65313a90517596936b82a227b43cef0ced54e323 Mon Sep 17 00:00:00 2001 From: gerwoud Date: Thu, 9 May 2024 17:15:12 +0200 Subject: [PATCH] removed 404 for submissions --- .../project/endpoints/projects/project_submissions_download.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/project/endpoints/projects/project_submissions_download.py b/backend/project/endpoints/projects/project_submissions_download.py index 8e6ec83e..6ba93e93 100644 --- a/backend/project/endpoints/projects/project_submissions_download.py +++ b/backend/project/endpoints/projects/project_submissions_download.py @@ -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):