Merge remote-tracking branch 'origin/dev' into fix/verschillende-authenticatieproblemen

# Conflicts:
#	frontend/src/i18n/locale/de.json
#	frontend/src/i18n/locale/en.json
This commit is contained in:
Gerald Schmittinger 2025-04-20 11:34:21 +02:00
commit af0f40f63e
21 changed files with 1006 additions and 492 deletions

View file

@ -40,7 +40,7 @@ export async function updateInvitationHandler(req: Request, res: Response): Prom
const sender = req.body.sender;
const receiver = req.body.receiver;
const classId = req.body.class;
req.body.accepted = req.body.accepted !== 'false';
req.body.accepted = req.body.accepted !== false;
requireFields({ sender, receiver, classId });
const data = req.body as TeacherInvitationData;