summaryrefslogtreecommitdiffstats
path: root/modules/auth
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-07-16 15:15:00 +0800
committerUnknwon <u@gogs.io>2016-07-16 15:15:00 +0800
commite3d3d424b2e8e5a8c4ee847bfe77b6f160d45196 (patch)
tree433c6361f716b6ee29a821908ab797fbfb58d56c /modules/auth
parent971e2c3bd6a63a9d75ee7b222b8ec1716f47fbb6 (diff)
downloadgitea-e3d3d424b2e8e5a8c4ee847bfe77b6f160d45196.tar.gz
gitea-e3d3d424b2e8e5a8c4ee847bfe77b6f160d45196.zip
Minor fix for go vet
Diffstat (limited to 'modules/auth')
-rw-r--r--modules/auth/repo_form.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go
index 13e53497d5..e9ef2a2364 100644
--- a/modules/auth/repo_form.go
+++ b/modules/auth/repo_form.go
@@ -143,7 +143,7 @@ func (f *NewWebhookForm) Validate(ctx *macaron.Context, errs binding.Errors) bin
}
type NewSlackHookForm struct {
- PayloadURL string `binding:"Required;Url`
+ PayloadURL string `binding:"Required;Url"`
Channel string `binding:"Required"`
Username string
IconURL string