1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-01 17:38:33 +00:00

Revert "fix(api): document is_system_webhook field (#7784)"

The field is not part of the struct, it is instead part of the config field. See https://codeberg.org/forgejo/forgejo/pulls/7784#issuecomment-5511212
This commit is contained in:
Gusted 2025-06-25 23:52:22 +02:00
parent 7ab27a7a7f
commit 7121648dcf
2 changed files with 1 additions and 6 deletions

View file

@ -53,8 +53,7 @@ type CreateHookOption struct {
BranchFilter string `json:"branch_filter" binding:"GlobPattern"`
AuthorizationHeader string `json:"authorization_header"`
// default: false
Active bool `json:"active"`
IsSystemWebhook bool `json:"is_system_webhook"`
Active bool `json:"active"`
}
// EditHookOption options when modify one hook

View file

@ -22701,10 +22701,6 @@
},
"x-go-name": "Events"
},
"is_system_webhook": {
"type": "boolean",
"x-go-name": "IsSystemWebhook"
},
"type": {
"type": "string",
"enum": [