Add hint to rules

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-04-06 10:54:59 +02:00
commit ccc3ac241f
9 changed files with 50 additions and 15 deletions

View file

@ -15,7 +15,8 @@ defmodule Pleroma.Web.AdminAPI.RuleView do
%{
id: to_string(rule.id),
priority: rule.priority,
text: rule.text
text: rule.text,
hint: rule.hint
}
end
end