delete ws

This commit is contained in:
mr 2024-09-25 10:25:13 +02:00
parent a48bcf25e4
commit 8953e2cd42

View File

@ -96,7 +96,7 @@ func (wfa *workflowMongoAccessor) DeleteOne(id string) (utils.DBObject, int, err
}, true) // delete the executions }, true) // delete the executions
res, code, err := wfa.GenericDeleteOne(id, wfa) res, code, err := wfa.GenericDeleteOne(id, wfa)
if res != nil && code == 200 { if res != nil && code == 200 {
wfa.execute(res.(*Workflow), false, false) // up to date the workspace for the workflow wfa.execute(res.(*Workflow), true, false) // up to date the workspace for the workflow
wfa.share(res.(*Workflow), true, wfa.Caller) wfa.share(res.(*Workflow), true, wfa.Caller)
} }
return res, code, err return res, code, err