summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorChristopher Brickley <brickley@gmail.com>2014-10-24 08:56:12 -0400
committerChristopher Brickley <brickley@gmail.com>2014-10-24 08:56:12 -0400
commit3794111460e8f69a69bfaacade2978fe89644270 (patch)
treee6361647a56f6d8df3b9d6b019d7627fb5eb7ad8 /modules
parentd7ea49b9f52a065dc34933ecc056e3b6b6b0fad9 (diff)
downloadgitea-3794111460e8f69a69bfaacade2978fe89644270.tar.gz
gitea-3794111460e8f69a69bfaacade2978fe89644270.zip
update slack hook to use new format
Diffstat (limited to 'modules')
-rw-r--r--modules/auth/repo_form.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go
index 86fbdc4926..7901ce8777 100644
--- a/modules/auth/repo_form.go
+++ b/modules/auth/repo_form.go
@@ -81,8 +81,7 @@ func (f *NewWebhookForm) Validate(ctx *macaron.Context, errs binding.Errors) bin
type NewSlackHookForm struct {
HookTaskType string `form:"hook_type" binding:"Required"`
- Domain string `form:"domain" binding:"Required`
- Token string `form:"token" binding:"Required"`
+ PayloadUrl string `form:"payload_url" binding:"Required`
Channel string `form:"channel" binding:"Required"`
PushOnly bool `form:"push_only"`
Active bool `form:"active"`