diff --git a/actions/handlers.go b/actions/handlers.go index 4c9f950..f6cfc52 100644 --- a/actions/handlers.go +++ b/actions/handlers.go @@ -99,11 +99,11 @@ func (h *Handlers) handler(event string) func(context.Context, interface{}) erro } case "workflow_dispatch": - if h.Schedule == nil { + if h.WorkflowDispatch == nil { return nil } return func(ctx context.Context, _ interface{}) error { - return h.Schedule(ctx) + return h.WorkflowDispatch(ctx) } default: