summaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec/schemas/account.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pleroma/web/api_spec/schemas/account.ex')
-rw-r--r--lib/pleroma/web/api_spec/schemas/account.ex8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/pleroma/web/api_spec/schemas/account.ex b/lib/pleroma/web/api_spec/schemas/account.ex
index 3f2310df9..1f73ef60c 100644
--- a/lib/pleroma/web/api_spec/schemas/account.ex
+++ b/lib/pleroma/web/api_spec/schemas/account.ex
@@ -111,7 +111,9 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Account do
format: :uri,
nullable: true,
description: "Favicon image of the user's instance"
- }
+ },
+ avatar_description: %Schema{type: :string},
+ header_description: %Schema{type: :string}
}
},
source: %Schema{
@@ -147,9 +149,7 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Account do
}
}
}
- },
- avatar_description: %Schema{type: :string},
- header_description: %Schema{type: :string}
+ }
},
example: %{
"acct" => "foobar",