Fixup swagger documentation

PUT params should be in body
This commit is contained in:
techknowlogick 2025-07-15 17:52:33 -04:00
parent 558005a5ea
commit e2bf2dc2f5
2 changed files with 1 additions and 3 deletions

View File

@ -60,7 +60,6 @@ func BlockUser(ctx *context.APIContext) {
// type: string // type: string
// required: true // required: true
// - name: note // - name: note
// in: query
// description: optional note for the block // description: optional note for the block
// type: string // type: string
// responses: // responses:

View File

@ -18928,8 +18928,7 @@
{ {
"type": "string", "type": "string",
"description": "optional note for the block", "description": "optional note for the block",
"name": "note", "name": "note"
"in": "query"
} }
], ],
"responses": { "responses": {