From 9a1d5d2489d25778e26ab413cb9ee78d3fe2823a Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 9 Aug 2014 15:40:10 -0700 Subject: Finish new web hook pages --- modules/auth/repo_form.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/auth') diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go index 1b1a4f71..3eb0cbc5 100644 --- a/modules/auth/repo_form.go +++ b/modules/auth/repo_form.go @@ -69,7 +69,7 @@ func (f *RepoSettingForm) Validate(ctx *macaron.Context, errs *binding.Errors, l // \/ \/ \/ \/ \/ \/ type NewWebhookForm struct { - Url string `form:"url" binding:"Required;Url"` + PayloadUrl string `form:"payload_url" binding:"Required;Url"` ContentType string `form:"content_type" binding:"Required"` Secret string `form:"secret"` PushOnly bool `form:"push_only"` -- cgit v1.2.3