diff --git a/models/workflow_execution/workflow_scheduler.go b/models/workflow_execution/workflow_scheduler.go index 48633dc..98d2f61 100644 --- a/models/workflow_execution/workflow_scheduler.go +++ b/models/workflow_execution/workflow_scheduler.go @@ -98,7 +98,7 @@ func (ws *WorkflowSchedule) Schedules(wfID string, request *tools.APIRequest) (* return nil, []*WorkflowExecutions{}, errors.New("no caller defined") } methods := c.URLS[tools.BOOKING] - if _, ok := methods[tools.POSTCHECK]; !ok { + if _, ok := methods[tools.GET]; !ok { return nil, []*WorkflowExecutions{}, errors.New("no path found") } ok, wf, executions, err := ws.CheckBooking(wfID, request)