fix
This commit is contained in:
parent
1d7791c2b0
commit
7fe6dee81c
@ -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> {
|
||||||
|
Reference in New Issue
Block a user