[bugfix] Ensure account fields can be set by JSON (#1762)

This commit is contained in:
tobi 2023-05-12 11:17:31 +02:00 committed by GitHub
commit 8eda0051ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 353 additions and 425 deletions

View file

@ -2469,7 +2469,7 @@ definitions:
x-go-name: Tag
x-go-package: github.com/superseriousbusiness/gotosocial/internal/api/model
updateField:
description: By default, max 4 fields and 255 characters per property/value.
description: By default, max 6 fields and 255 characters per property/value.
properties:
name:
description: Name of the field
@ -3088,6 +3088,7 @@ paths:
patch:
consumes:
- multipart/form-data
- application/json
operationId: accountUpdate
parameters:
- description: Account should be made discoverable and shown in the profile directory (if enabled).