From 04f7537066c1dccd1dfa49f94978b81c52b34126 Mon Sep 17 00:00:00 2001 From: mr Date: Tue, 18 Feb 2025 12:39:16 +0100 Subject: [PATCH] save --- models/workflow_execution/workflow_scheduler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/workflow_execution/workflow_scheduler.go b/models/workflow_execution/workflow_scheduler.go index c551e4e..9fe3620 100644 --- a/models/workflow_execution/workflow_scheduler.go +++ b/models/workflow_execution/workflow_scheduler.go @@ -124,9 +124,9 @@ func (ws *WorkflowSchedule) Schedules(wfID string, request *tools.APIRequest) (* return ws, nil, []*WorkflowExecution{}, errors.New("purge draft" + fmt.Sprintf("%v", err)) } exec.StoreDraftDefault() - // Should DELETE the previous execution2 - fmt.Println(utils.GenericStoreOne(exec, NewAccessor(request))) + utils.GenericStoreOne(exec, NewAccessor(request)) } + fmt.Println("Schedules") return ws, wf, executions, nil }