diff --git a/routers/api/v1/user/block.go b/routers/api/v1/user/block.go index 8365188f60516..a491d7aa5fe77 100644 --- a/routers/api/v1/user/block.go +++ b/routers/api/v1/user/block.go @@ -60,7 +60,6 @@ func BlockUser(ctx *context.APIContext) { // type: string // required: true // - name: note - // in: query // description: optional note for the block // type: string // responses: diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 323e0d64ac567..5e173af66d852 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -18928,8 +18928,7 @@ { "type": "string", "description": "optional note for the block", - "name": "note", - "in": "query" + "name": "note" } ], "responses": {