forked from NYANDEV/forgejo
Finish new web hook pages
This commit is contained in:
parent
9820b8e134
commit
9a1d5d2489
23 changed files with 249 additions and 265 deletions
|
@ -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"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue