[bugfix] Don't nil emojis + fields on blocked accounts (#2968)

* [bugfix] Don't nil emojis + fields on blocked accounts

* comment

* swagger
This commit is contained in:
tobi 2024-06-06 12:22:16 +02:00 committed by GitHub
commit 6f26b32ec3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 14 additions and 4 deletions

View file

@ -223,7 +223,9 @@ definitions:
type: string
x-go-name: DisplayName
emojis:
description: Array of custom emojis used in this account's note or display name.
description: |-
Array of custom emojis used in this account's note or display name.
Empty for blocked accounts.
items:
$ref: '#/definitions/emoji'
type: array
@ -235,7 +237,9 @@ definitions:
type: boolean
x-go-name: EnableRSS
fields:
description: Additional metadata attached to this account's profile.
description: |-
Additional metadata attached to this account's profile.
Empty for blocked accounts.
items:
$ref: '#/definitions/field'
type: array