From 4b6be93e63bb01312777c2aa23bce35c507394a3 Mon Sep 17 00:00:00 2001 From: Gabriellvl Date: Wed, 16 Apr 2025 12:23:30 +0200 Subject: [PATCH] fix: use instead of get --- backend/src/routes/teachers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/routes/teachers.ts b/backend/src/routes/teachers.ts index 801eaee8..44d3064b 100644 --- a/backend/src/routes/teachers.ts +++ b/backend/src/routes/teachers.ts @@ -34,6 +34,6 @@ router.get('/:username/joinRequests/:classId', getStudentJoinRequestHandler); router.put('/:username/joinRequests/:classId/:studentUsername', updateStudentJoinRequestHandler); // Invitations to other classes a teacher received -router.get('/invitations', invitationRouter); +router.use('/invitations', invitationRouter); export default router;