diff --git a/backend/project/endpoints/projects/projects.py b/backend/project/endpoints/projects/projects.py index 12360301..94813bbd 100644 --- a/backend/project/endpoints/projects/projects.py +++ b/backend/project/endpoints/projects/projects.py @@ -52,10 +52,6 @@ def get(self, uid=None): courses_student = [c[0] for c in courses_student] # Filter the projects based on the query parameters filters = dict(request.args) - invalid_filters = set(filters.keys()) - {"project_id", "title", "course_id"} - if invalid_filters: - data["message"] = f"Invalid query parameters {invalid_filters}" - return data, 400 conditions = [] for key, value in filters.items(): if key in Project.__table__.columns: