From 82f7a01ded7e83d238d687831bcd6ec415da31f5 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 18 Mar 2015 04:51:02 -0400 Subject: #1064: X-Gogs-Event header is empty --- models/webhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/webhook.go') diff --git a/models/webhook.go b/models/webhook.go index 96af0b6967..bfa52b9902 100644 --- a/models/webhook.go +++ b/models/webhook.go @@ -205,7 +205,7 @@ func IsValidHookTaskType(name string) bool { type HookEventType string const ( - PUSH HookEventType = "push" + HOOK_EVENT_PUSH HookEventType = "push" ) // FIXME: just use go-gogs-client structs maybe? -- cgit v1.2.3