From 6f26b32ec3ed57ed3b04cba357abb9ee5060f229 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 6 Jun 2024 12:22:16 +0200 Subject: [bugfix] Don't nil emojis + fields on blocked accounts (#2968) * [bugfix] Don't nil emojis + fields on blocked accounts * comment * swagger --- docs/api/swagger.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docs/api') diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index 050cf4c9b..5d93b33b1 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -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 -- cgit v1.2.3