fix(api): make task updates transactional
This commit is contained in:
1 parent
19f8494d09
commit
7a1dd647aa
8 files changed
+584
-178
No files matched your search
@@ -134,6 +134,8 @@ export class AppDatabaseBase {
|
||||
this.tasks = buildTaskMethods(getDb, ra, tx, {
|
||||
addComment: (input) => this.activityMod.addComment(input),
|
||||
addActivity: (input) => this.activityMod.addActivity(input),
|
||||
requestApproval: (input) => this.approvalsMod.requestApproval(input),
|
||||
setHeartbeat: (agentId, enabled, intervalSec) => this.agents.setHeartbeat(agentId, enabled, intervalSec),
|
||||
});
|
||||
this.messages = buildMessageMethods(getDb, ra, {
|
||||
getAgent: (id) => this.entityCrud.getAgent(id),
|
||||
|
||||
Reference in new issue
Block a user