jojo/routers/api/v1/utils
Cyborus fb9839f16d fix(api): set all hook event types (#9997)
The `addHook` function (and subsequently all endpoints that add a webhook) did not set the `Package`, `ActionRunFailure`, `ActionRunRecover`, or `ActionRunSuccess` event types on the newly created webhook.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9997
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Cyborus <cyborus@cyborus.xyz>
Co-committed-by: Cyborus <cyborus@cyborus.xyz>
2025-11-07 07:04:21 +01:00
..
block.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
db_search_order.go feat: add sort parameter for users/search api endpoint (#8594) 2025-07-24 22:40:27 +02:00
git.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
hook.go fix(api): set all hook event types (#9997) 2025-11-07 07:04:21 +01:00
hook_test.go fix(api): set all hook event types (#9997) 2025-11-07 07:04:21 +01:00
main_test.go fix: url validation in webhook add/edit API (#7932) 2025-05-23 22:50:43 +02:00
page.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00