fix(server/tasks): becca not updating on task creation

pull/1234/head
Elian Doran 2025-02-19 18:18:20 +07:00
parent 575ef5e10e
commit 0baa804544
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

@ -63,6 +63,10 @@ export default class BTask extends AbstractBeccaEntity<BOption> {
super.beforeSaving(); super.beforeSaving();
this.utcDateModified = date_utils.utcNowDateTime(); this.utcDateModified = date_utils.utcNowDateTime();
if (this.taskId) {
this.becca.tasks[this.taskId] = this;
}
} }
getPojo() { getPojo() {