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

This commit is contained in:
Elian Doran
2025-02-19 18:18:20 +02:00
parent 575ef5e10e
commit 0baa804544

View File

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