Fix ability to save settings correctly in AdminFE

- doesn't work with elixir lists yet
- AdminFE not showing saved entries for some reason
This commit is contained in:
Mark Felder 2020-11-13 15:51:27 -06:00 committed by Mark Felder
parent d2f8053552
commit c4ecea651f

View file

@ -109,7 +109,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.AutoSubjectPolicy do
children: [ children: [
%{ %{
key: :match, key: :match,
type: {:list, :tuple}, type: {:keyword, :string},
description: """ description: """
**Keyword**: a string or list of keywords. E.g., ["cat", "dog"] to match on both "cat" and "dog". **Keyword**: a string or list of keywords. E.g., ["cat", "dog"] to match on both "cat" and "dog".