aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/v1/org/hook.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/org/hook.go')
-rw-r--r--routers/api/v1/org/hook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/org/hook.go b/routers/api/v1/org/hook.go
index ddf0ddefe6..2ddb2b2d2b 100644
--- a/routers/api/v1/org/hook.go
+++ b/routers/api/v1/org/hook.go
@@ -100,7 +100,7 @@ func GetHook(ctx *context.APIContext) {
// CreateHook create a hook for an organization
func CreateHook(ctx *context.APIContext) {
- // swagger:operation POST /orgs/{org}/hooks/ organization orgCreateHook
+ // swagger:operation POST /orgs/{org}/hooks organization orgCreateHook
// ---
// summary: Create a hook
// consumes: