From 56aafca1a290952267592d6a123c2d9880139a20 Mon Sep 17 00:00:00 2001 From: Peter Wagner Date: Thu, 19 Nov 2020 08:28:05 -0500 Subject: [PATCH] fix WorkflowDispatch handler mapping --- actions/handlers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: