summaryrefslogtreecommitdiffstats
path: root/models/webhook.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-03-18 04:51:02 -0400
committerUnknwon <u@gogs.io>2015-03-18 04:51:02 -0400
commit82f7a01ded7e83d238d687831bcd6ec415da31f5 (patch)
treeb5fc75e87bea64dd1d0064dace2be851467467fa /models/webhook.go
parent49aeb87e44b315b0a2de6ce82600311bd24be9f7 (diff)
downloadgitea-82f7a01ded7e83d238d687831bcd6ec415da31f5.tar.gz
gitea-82f7a01ded7e83d238d687831bcd6ec415da31f5.zip
#1064: X-Gogs-Event header is empty
Diffstat (limited to 'models/webhook.go')
-rw-r--r--models/webhook.go2
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?