Skip to content

Commit fe007b6

Browse files
silverwindbilogic
andauthored
Fix typo in API route (#24310)
Continuation of #23995 --------- Co-authored-by: bilogic <[email protected]>
1 parent 20a3b03 commit fe007b6

File tree

2 files changed

+26
-28
lines changed

2 files changed

+26
-28
lines changed

routers/api/v1/admin/hooks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func EditHook(ctx *context.APIContext) {
142142

143143
// DeleteHook delete a system hook
144144
func DeleteHook(ctx *context.APIContext) {
145-
// swagger:operation DELETE /amdin/hooks/{id} admin adminDeleteHook
145+
// swagger:operation DELETE /admin/hooks/{id} admin adminDeleteHook
146146
// ---
147147
// summary: Delete a hook
148148
// produces:

templates/swagger/v1_json.tmpl

Lines changed: 25 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)