diff options
author | Unknwon <u@gogs.io> | 2015-03-18 04:51:02 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-03-18 04:51:02 -0400 |
commit | 82f7a01ded7e83d238d687831bcd6ec415da31f5 (patch) | |
tree | b5fc75e87bea64dd1d0064dace2be851467467fa /models/webhook.go | |
parent | 49aeb87e44b315b0a2de6ce82600311bd24be9f7 (diff) | |
download | gitea-82f7a01ded7e83d238d687831bcd6ec415da31f5.tar.gz gitea-82f7a01ded7e83d238d687831bcd6ec415da31f5.zip |
#1064: X-Gogs-Event header is empty
Diffstat (limited to 'models/webhook.go')
-rw-r--r-- | models/webhook.go | 2 |
1 files changed, 1 insertions, 1 deletions
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? |