From: Angelina Filippova Date: Wed, 8 Jul 2020 22:33:23 +0000 (+0300) Subject: Update types for :headers and :options settings in MediaProxy Invalidation group X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=33e62856367b2789fa287830676edd843ad0e5d4;p=akkoma Update types for :headers and :options settings in MediaProxy Invalidation group --- diff --git a/config/description.exs b/config/description.exs index 370af80a6..337f0d307 100644 --- a/config/description.exs +++ b/config/description.exs @@ -1791,15 +1791,20 @@ config :pleroma, :config_description, [ }, %{ key: :headers, - type: {:list, :tuple}, - description: "HTTP headers of request.", + type: {:keyword, :string}, + description: "HTTP headers of request", suggestions: [{"x-refresh", 1}] }, %{ key: :options, type: :keyword, - description: "Request options.", - suggestions: [params: %{ts: "xxx"}] + description: "Request options", + children: [ + %{ + key: :params, + type: {:keyword, :string} + } + ] } ] },