Add webhook.SingleOrgOnly

This commit is contained in:
Yang Luo
2024-03-04 21:14:52 +08:00
parent f9ee8a68cb
commit 19942a8bd4
27 changed files with 221 additions and 145 deletions

View File

@ -39,6 +39,7 @@ type Webhook struct {
Headers []*Header `xorm:"mediumtext" json:"headers"`
Events []string `xorm:"varchar(1000)" json:"events"`
IsUserExtended bool `json:"isUserExtended"`
SingleOrgOnly bool `json:"singleOrgOnly"`
IsEnabled bool `json:"isEnabled"`
}