light modification
This commit is contained in:
parent
c1888f8921
commit
97d466818a
@ -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))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user