print to find bug

This commit is contained in:
mr
2024-09-23 14:22:05 +02:00
parent 6c9b9ea30d
commit 6acbcb6704
298 changed files with 2193 additions and 2 deletions

View File

@@ -257,7 +257,7 @@ func (wfa *workflowMongoAccessor) UpdateOne(set utils.DBObject, id string) (util
}
wfa.execute(res.(*Workflow), false) // update the workspace for the workflow
wfa.share(res.(*Workflow), false, wfa.Caller) // share the update to the peers
return res, code, err
return res, code, nil
}
// StoreOne stores a workflow in the database
@@ -272,7 +272,7 @@ func (wfa *workflowMongoAccessor) StoreOne(data utils.DBObject) (utils.DBObject,
return nil, code, err
}
wfa.execute(res.(*Workflow), false) // store the workspace for the workflow
return res, code, err
return res, code, nil
}
// CopyOne copies a workflow in the database