fix: await vergeten

This commit is contained in:
laurejablonski 2025-04-23 21:55:28 +02:00
parent a2304162e1
commit dbff241834

View file

@ -73,7 +73,7 @@ export async function getStudentAssignmentsHandler(req: Request, res: Response):
const username = req.params.username;
requireFields({ username });
const assignments = getStudentAssignments(username, full);
const assignments = await getStudentAssignments(username, full);
res.json({ assignments });
}