1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00
This commit is contained in:
Unknwon
2015-09-03 08:09:08 -04:00
parent 7ec991326d
commit 38eb000d13
5 changed files with 11 additions and 7 deletions

View File

@@ -97,7 +97,7 @@ func (f *NewWebhookForm) Validate(ctx *macaron.Context, errs binding.Errors) bin
}
type NewSlackHookForm struct {
PayloadURL string `binding:"Required`
PayloadURL string `binding:"Required;Url`
Channel string `binding:"Required"`
Username string
IconURL string