fix: backend controllers gehomologeerd #130
This commit is contained in:
parent
30ec73a88d
commit
32a3bb0dd6
10 changed files with 75 additions and 194 deletions
|
@ -28,7 +28,7 @@ export async function createClassHandler(req: Request, res: Response): Promise<v
|
|||
return;
|
||||
}
|
||||
|
||||
res.status(201).json({ class: 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