Move new fields to pleroma object

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-08-17 19:59:39 +02:00
commit 3498662712
3 changed files with 10 additions and 13 deletions

View file

@ -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",