mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02: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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user