light modification
This commit is contained in:
parent
e6ac7d0da6
commit
0e798dac50
@ -98,7 +98,7 @@ func (ws *WorkflowSchedule) Schedules(wfID string, request *tools.APIRequest) (*
|
|||||||
return nil, []*WorkflowExecutions{}, errors.New("no caller defined")
|
return nil, []*WorkflowExecutions{}, errors.New("no caller defined")
|
||||||
}
|
}
|
||||||
methods := c.URLS[tools.BOOKING]
|
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")
|
return nil, []*WorkflowExecutions{}, errors.New("no path found")
|
||||||
}
|
}
|
||||||
ok, wf, executions, err := ws.CheckBooking(wfID, request)
|
ok, wf, executions, err := ws.CheckBooking(wfID, request)
|
||||||
|
Loading…
Reference in New Issue
Block a user