Add map_keys key to :mascots setting

This commit is contained in:
Angelina Filippova 2021-03-27 00:13:35 +03:00
parent c425f87717
commit 5835f6d0a4

View File

@ -1382,6 +1382,10 @@ config :pleroma, :config_description, [
%{ %{
key: :mascots, key: :mascots,
type: {:keyword, :map}, type: {:keyword, :map},
map_keys: [
%{ key: ":url", label: "URL" },
%{ key: ":mime_type", label: "Mime type" }
],
description: description:
"Keyword of mascots, each element must contain both an URL and a mime_type key", "Keyword of mascots, each element must contain both an URL and a mime_type key",
suggestions: [ suggestions: [