diff options
Diffstat (limited to 'modules/auth/repo_form.go')
-rw-r--r-- | modules/auth/repo_form.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index 86fbdc49..7901ce87 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"` |