From db699f358f4ff603a37868233c7444d8d4b01d2d Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Tue, 6 Apr 2021 02:46:54 +0300 Subject: [PATCH] Update type of settings whose values should be reversed --- config/description.exs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/description.exs b/config/description.exs index c0a21ccf0..516e2e4d4 100644 --- a/config/description.exs +++ b/config/description.exs @@ -1018,7 +1018,7 @@ config :pleroma, :config_description, [ }, %{ key: :sender, - type: [:string, :tuple], + type: [:tuple, :string], description: "Email address and/or nickname that will be used to send the welcome email.", suggestions: [ @@ -1929,7 +1929,7 @@ config :pleroma, :config_description, [ }, %{ key: :crontab, - type: {:keyword, :string}, + type: {:keyword, :string, :reversed}, description: "Settings for cron background jobs", suggestions: [ {"0 0 * * 0", Pleroma.Workers.Cron.DigestEmailsWorker}, @@ -2664,7 +2664,7 @@ config :pleroma, :config_description, [ %{ key: :proxy_url, label: "Proxy URL", - type: [:string, :tuple], + type: [:tuple, :string], description: "Proxy URL", suggestions: ["localhost:9020", {:socks5, :localhost, 3090}] },