Compare commits
No commits in common. "7fe6dee81cdcf90f405adec878f5a0e36fbdeb2f" and "ab70c46501fb3863efeefc200c1f6d90635c2c7e" have entirely different histories.
7fe6dee81c
...
ab70c46501
@ -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.get_data ());
|
.json (cm.object);
|
||||||
}
|
}
|
||||||
|
|
||||||
public async update (req: Request, res: Response): Promise<void> {
|
public async update (req: Request, res: Response): Promise<void> {
|
||||||
|
@ -36,9 +36,5 @@
|
|||||||
"@scode/modelling": "^1.0.16",
|
"@scode/modelling": "^1.0.16",
|
||||||
"@types/express": "^4.17.6",
|
"@types/express": "^4.17.6",
|
||||||
"express": "^4.17.1"
|
"express": "^4.17.1"
|
||||||
},
|
}
|
||||||
"files": [
|
|
||||||
"LICENSE",
|
|
||||||
"/dist/"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user