fix a bug which caused immedate deletion of created attributes

This commit is contained in:
zadam
2023-07-17 22:53:54 +02:00
parent 23278f54cb
commit bc8f531b33
3 changed files with 11 additions and 2 deletions

View File

@@ -274,6 +274,8 @@ class AbstractBeccaEntity {
[this.dateModified, entityId]);
}
console.trace("DELETE");
log.info(`Marking ${entityName} ${entityId} as deleted`);
this.addEntityChange(true);
@@ -291,6 +293,8 @@ class AbstractBeccaEntity {
WHERE ${this.constructor.primaryKeyName} = ?`,
[this.utcDateModified, entityId]);
console.trace("DELETE");
log.info(`Marking ${entityName} ${entityId} as deleted`);
this.addEntityChange(true);