diff options
author | Angelina Filippova <linakirsanova@gmail.com> | 2020-07-09 01:33:23 +0300 |
---|---|---|
committer | Angelina Filippova <linakirsanova@gmail.com> | 2020-07-09 01:33:23 +0300 |
commit | 33e62856367b2789fa287830676edd843ad0e5d4 (patch) | |
tree | 80be2c393688b404471e57599637f402f03359e2 | |
parent | 9ad305209aabd8619a397060f979c1f4e735def3 (diff) | |
download | pleroma-33e62856367b2789fa287830676edd843ad0e5d4.tar.gz |
Update types for :headers and :options settings in MediaProxy Invalidation group
-rw-r--r-- | config/description.exs | 13 |
1 files changed, 9 insertions, 4 deletions
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} + } + ] } ] }, |