fix: use instead of get

This commit is contained in:
Gabriellvl 2025-04-16 12:23:30 +02:00
parent baa6cd6ce5
commit 4b6be93e63

View file

@ -34,6 +34,6 @@ router.get('/:username/joinRequests/:classId', getStudentJoinRequestHandler);
router.put('/:username/joinRequests/:classId/:studentUsername', updateStudentJoinRequestHandler); router.put('/:username/joinRequests/:classId/:studentUsername', updateStudentJoinRequestHandler);
// Invitations to other classes a teacher received // Invitations to other classes a teacher received
router.get('/invitations', invitationRouter); router.use('/invitations', invitationRouter);
export default router; export default router;