mirror of
https://gitea.com/gitea/gitea-mirror.git
synced 2026-03-27 23:25:59 +00:00
Backport #28531 by @pulltheflower - Fix the bug about admin/hooks API that `GET /admin/hooks` can only fetch system_hooks, `POST /admin/hooks` can only create default_hooks. Co-authored-by: vincent <38434877+pulltheflower@users.noreply.github.com>