From 8953e2cd423da17cb608321e96d0ea59df2037f1 Mon Sep 17 00:00:00 2001 From: mr Date: Wed, 25 Sep 2024 10:25:13 +0200 Subject: [PATCH] delete ws --- models/workflow/workflow_mongo_accessor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/workflow/workflow_mongo_accessor.go b/models/workflow/workflow_mongo_accessor.go index 3dc1529..dc0386d 100644 --- a/models/workflow/workflow_mongo_accessor.go +++ b/models/workflow/workflow_mongo_accessor.go @@ -96,7 +96,7 @@ func (wfa *workflowMongoAccessor) DeleteOne(id string) (utils.DBObject, int, err }, true) // delete the executions res, code, err := wfa.GenericDeleteOne(id, wfa) 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) } return res, code, err