projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ad3052
)
Update types for :headers and :options settings in MediaProxy Invalidation group
author
Angelina Filippova
<linakirsanova@gmail.com>
Wed, 8 Jul 2020 22:33:23 +0000
(
01:33
+0300)
committer
Angelina Filippova
<linakirsanova@gmail.com>
Wed, 8 Jul 2020 22:33:23 +0000
(
01:33
+0300)
config/description.exs
patch
|
blob
|
history
diff --git
a/config/description.exs
b/config/description.exs
index 370af80a615223b8aa348ccacfbb8ecacde1650a..337f0d307de311cdf80159dab830aca79cdf088c 100644
(file)
--- 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}
+ }
+ ]
}
]
},