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:
commit
af0f40f63e
21 changed files with 1006 additions and 492 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue