1
0
Fork 0
forked from forgejo/forgejo
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