light modification

This commit is contained in:
mr 2025-01-24 10:55:57 +01:00
parent c1888f8921
commit 97d466818a

View File

@ -113,6 +113,7 @@ func (ws *WorkflowSchedule) Schedules(wfID string, request *tools.APIRequest) (*
return nil, []*WorkflowExecutions{}, errors.New("purge draft" + fmt.Sprintf("%v", err)) return nil, []*WorkflowExecutions{}, errors.New("purge draft" + fmt.Sprintf("%v", err))
} }
exec.GenerateID() exec.GenerateID()
exec.StoreDraftDefault()
// Should DELETE the previous execution2 // Should DELETE the previous execution2
utils.GenericStoreOne(exec, NewAccessor(request)) utils.GenericStoreOne(exec, NewAccessor(request))
} }