Update type for :replace settings

This commit is contained in:
Angelina Filippova 2020-07-10 03:32:53 +03:00
parent 6b9210e886
commit ac9f18de11
1 changed files with 1 additions and 1 deletions

View File

@ -1601,7 +1601,7 @@ config :pleroma, :config_description, [
},
%{
key: :replace,
type: [{:tuple, :string, :string}, {:tuple, :regex, :string}],
type: {:keyword, :string, :regex},
description:
"A list of tuples containing {pattern, replacement}. Each pattern can be a string or a regular expression.",
suggestions: [{"foo", "bar"}, {~r/foo/iu, "bar"}]