From 5835f6d0a40fe52e60d4186e99551849326c4aa9 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Sat, 27 Mar 2021 00:13:35 +0300 Subject: [PATCH] Add map_keys key to :mascots setting --- config/description.exs | 4 ++++ 1 file changed, 4 insertions(+) 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: [