mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 04:22:24 -05:00
[bugfix] Accept non-multipart forms for account updates (#1896)
* [bugfix] Update Swagger schema per max_profile_fields addition * [bugfix] Accept non-multipart forms for account updates
This commit is contained in:
parent
827cc4df56
commit
0fa06c0cde
3 changed files with 128 additions and 1 deletions
|
|
@ -1147,6 +1147,13 @@ definitions:
|
|||
format: int64
|
||||
type: integer
|
||||
x-go-name: MaxFeaturedTags
|
||||
max_profile_fields:
|
||||
description: |-
|
||||
The maximum number of profile fields allowed for each account.
|
||||
Currently not configurable, so this is hardcoded to 6. (https://github.com/superseriousbusiness/gotosocial/issues/1876)
|
||||
format: int64
|
||||
type: integer
|
||||
x-go-name: MaxProfileFields
|
||||
title: InstanceConfigurationAccounts models instance account config parameters.
|
||||
type: object
|
||||
x-go-name: InstanceConfigurationAccounts
|
||||
|
|
@ -3144,6 +3151,7 @@ paths:
|
|||
patch:
|
||||
consumes:
|
||||
- multipart/form-data
|
||||
- application/x-www-form-urlencoded
|
||||
- application/json
|
||||
operationId: accountUpdate
|
||||
parameters:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue