summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelina Filippova <linakirsanova@gmail.com>2021-03-27 00:13:35 +0300
committerAngelina Filippova <linakirsanova@gmail.com>2021-03-27 00:13:35 +0300
commit5835f6d0a40fe52e60d4186e99551849326c4aa9 (patch)
treeb473ac3329db0ca57f5d117ab1d3fb8d678c1bcf
parentc425f87717fe4706288d8c0e13b7a6990bcba894 (diff)
Add map_keys key to :mascots setting
-rw-r--r--config/description.exs4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs
index e72f71311..d1379495a 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -1382,6 +1382,10 @@ config :pleroma, :config_description, [
%{
key: :mascots,
type: {:keyword, :map},
+ map_keys: [
+ %{ key: ":url", label: "URL" },
+ %{ key: ":mime_type", label: "Mime type" }
+ ],
description:
"Keyword of mascots, each element must contain both an URL and a mime_type key",
suggestions: [