Add background_image to InstanceOperation

This commit is contained in:
Egor Kislitsyn 2020-05-20 15:18:58 +04:00
parent 94ba5a7802
commit 26f01744bc
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805

View file

@ -125,7 +125,12 @@ defp instance do
}, },
avatar_upload_limit: %Schema{type: :integer, description: "The title of the website"}, avatar_upload_limit: %Schema{type: :integer, description: "The title of the website"},
background_upload_limit: %Schema{type: :integer, description: "The title of the website"}, background_upload_limit: %Schema{type: :integer, description: "The title of the website"},
banner_upload_limit: %Schema{type: :integer, description: "The title of the website"} banner_upload_limit: %Schema{type: :integer, description: "The title of the website"},
background_image: %Schema{
type: :string,
format: :uri,
description: "The background image for the website"
}
}, },
example: %{ example: %{
"avatar_upload_limit" => 2_000_000, "avatar_upload_limit" => 2_000_000,