fixing cron dependancies

This commit is contained in:
mr 2024-08-08 11:33:32 +02:00
parent 1cfd684e89
commit 14f585c657

View File

@ -115,7 +115,7 @@ func (wfa *workflowMongoAccessor) execution(id string, realData *Workflow, delet
}
accessor := (&workflow_execution.WorkflowExecution{}).GetAccessor()
execs, err := wfa.getExecutions(id, realData)
if err != nil && len(execs) > 0 {
if err == nil && len(execs) > 0 {
for _, obj := range execs {
accessor.StoreOne(obj)
}