forked from forgejo/forgejo
Backport #24310 by @silverwind Continuation of https://github.com/go-gitea/gitea/pull/23995 Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: bilogic <946010+bilogic@users.noreply.github.com>
This commit is contained in:
parent
b1094ff28c
commit
ef3e3afc05
2 changed files with 26 additions and 28 deletions
|
@ -145,7 +145,7 @@ func EditHook(ctx *context.APIContext) {
|
|||
|
||||
// DeleteHook delete a system hook
|
||||
func DeleteHook(ctx *context.APIContext) {
|
||||
// swagger:operation DELETE /amdin/hooks/{id} admin adminDeleteHook
|
||||
// swagger:operation DELETE /admin/hooks/{id} admin adminDeleteHook
|
||||
// ---
|
||||
// summary: Delete a hook
|
||||
// produces:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue