This commit is contained in:
Timo Hocker 2020-05-03 17:05:04 +02:00
parent 1d7791c2b0
commit 7fe6dee81c

View File

@ -79,7 +79,7 @@ export class DatabaseCrudHandler extends HttpHandler implements CrudHandler {
cm.update (); cm.update ();
res.status (found ? http.status_ok : http.status_not_found) res.status (found ? http.status_ok : http.status_not_found)
.json (cm.object); .json (cm.get_data ());
} }
public async update (req: Request, res: Response): Promise<void> { public async update (req: Request, res: Response): Promise<void> {