light modification

This commit is contained in:
mr
2025-01-22 16:30:05 +01:00
parent e6ac7d0da6
commit 0e798dac50

View File

@@ -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)