Apply, suggestions, use strings for actual Mastodon API compatibility
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
5c383ada8a
commit
b354d70e85
11 changed files with 38 additions and 15 deletions
|
|
@ -533,8 +533,7 @@ defmodule Pleroma.Web.CommonAPI do
|
|||
|
||||
defp get_report_rules(rule_ids) do
|
||||
rule_ids
|
||||
|> Rule.get()
|
||||
|> Enum.map(& &1.id)
|
||||
|> Enum.filter(&Rule.exists?/1)
|
||||
end
|
||||
|
||||
def update_report_state(activity_ids, state) when is_list(activity_ids) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue