From fddfbdd16d6e1d737f1fa3f3e514c984df357dff Mon Sep 17 00:00:00 2001 From: Mathieu Strypsteen Date: Tue, 12 Mar 2024 16:17:42 +0100 Subject: [PATCH] Fix join subject route --- backend/routes/student.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routes/student.py b/backend/routes/student.py index deecf869..1c764baf 100644 --- a/backend/routes/student.py +++ b/backend/routes/student.py @@ -28,7 +28,7 @@ def projects_of_student_get( return get_projects_of_student(session, student.id) -@student_router.post("/student/subjects{subject_id}/join") +@student_router.post("/student/subjects/{subject_id}/join") def student_subject_join( subject_id: int, session: Session = Depends(get_session),