This commit is contained in:
Timo Hocker 2020-05-04 20:14:56 +02:00
parent dfd3df544c
commit 3de5485650
3 changed files with 3991 additions and 3991 deletions

View File

@ -55,7 +55,7 @@ export class DatabaseCrudHandler extends HttpHandler implements CrudHandler {
cm.update (); cm.update ();
const dm = new this.dm; const dm = new this.dm;
dm.apply (cm); dm.assign (cm);
await dm.write (); await dm.write ();
res.status (http.status_created) res.status (http.status_created)
@ -107,10 +107,10 @@ export class DatabaseCrudHandler extends HttpHandler implements CrudHandler {
const cm = new this.cm (dm.get_data ()); const cm = new this.cm (dm.get_data ());
cm.update (); cm.update ();
cm.apply_object (body_data); cm.assign_object (body_data);
cm.update (); cm.update ();
dm.apply (cm); dm.assign (cm);
const written = await dm.write (); const written = await dm.write ();

View File

@ -23,7 +23,7 @@
}, },
"devDependencies": { "devDependencies": {
"@ava/typescript": "^1.1.1", "@ava/typescript": "^1.1.1",
"@scode/eslint-config-ts": "^1.0.27", "@scode/eslint-config-ts": "^1.0.29",
"@stryker-mutator/core": "^3.1.0", "@stryker-mutator/core": "^3.1.0",
"@stryker-mutator/javascript-mutator": "^3.1.0", "@stryker-mutator/javascript-mutator": "^3.1.0",
"ava": "^3.8.1", "ava": "^3.8.1",
@ -32,8 +32,8 @@
"typescript": "^3.8.3" "typescript": "^3.8.3"
}, },
"dependencies": { "dependencies": {
"@scode/consts": "^1.1.7", "@scode/consts": "^1.1.9",
"@scode/modelling": "^1.0.16", "@scode/modelling": "^1.0.19",
"@types/express": "^4.17.6", "@types/express": "^4.17.6",
"express": "^4.17.1" "express": "^4.17.1"
}, },

7970
yarn.lock

File diff suppressed because it is too large Load Diff