From 3794111460e8f69a69bfaacade2978fe89644270 Mon Sep 17 00:00:00 2001 From: Christopher Brickley Date: Fri, 24 Oct 2014 08:56:12 -0400 Subject: update slack hook to use new format --- modules/auth/repo_form.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/auth') 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"` -- cgit v1.2.3