debug automation workspace

This commit is contained in:
mr 2024-07-31 08:57:20 +02:00
parent 19381d6438
commit 511e0c3f31

View File

@ -62,9 +62,6 @@ func (wfa *WorkspaceMongoAccessor) LoadOne(id string) (utils.DBObject, int, erro
}
res_mongo.Decode(&workflow)
obj := &Workspace{Active: true}
wfa.UpdateOne(obj, id)
if workflow.Datas != nil && len(workflow.Datas) > 0 {
dataAccessor := (&data.DataResource{}).GetAccessor()
for _, id := range workflow.Datas {