fix: gefaalde testen gefixt voor group controller

This commit is contained in:
Adriaan Jacquet 2025-03-29 23:06:03 +01:00
parent 943dd04e97
commit bede00df81
2 changed files with 7 additions and 3 deletions

View file

@ -21,6 +21,10 @@ export async function getGroupHandler(req: Request, res: Response): Promise<void
const group = await getGroup(classId, assignmentId, groupId, full);
if (!group) {
res.status(404).json({ error: 'Group not found' });
}
res.json(group);
}