forked from forgejo/forgejo
work on #1570
This commit is contained in:
parent
7ec991326d
commit
38eb000d13
5 changed files with 11 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue