fix: geef classresponse terug in backend zodat frontend controllers werken
This commit is contained in:
parent
fe17d92cd2
commit
ae816a4ccb
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ export async function createClassHandler(req: Request, res: Response): Promise<v
|
|||
return;
|
||||
}
|
||||
|
||||
res.status(201).json(cls);
|
||||
res.status(201).json({cls});
|
||||
}
|
||||
|
||||
export async function getClassHandler(req: Request, res: Response): Promise<void> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue