diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2020-05-04 06:08:49 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2020-05-04 06:08:49 +0300 |
commit | fe7a0d660e357a03558be3a95ddbb8b409ef9a9e (patch) | |
tree | 88078f00a739ce5ed11132a8ef7130b8c8ca9664 /lib/pleroma/web/common_api/utils.ex | |
parent | a92c713d9c761563c72d0f660574878aa569249a (diff) | |
parent | 095635453ac58b9e01a32ad226c0b61466c16da0 (diff) | |
download | pleroma-fe7a0d660e357a03558be3a95ddbb8b409ef9a9e.tar.gz |
Merge branch 'develop' into issue/1276-2
Diffstat (limited to 'lib/pleroma/web/common_api/utils.ex')
-rw-r--r-- | lib/pleroma/web/common_api/utils.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex index 945e63e22..6540fa5d1 100644 --- a/lib/pleroma/web/common_api/utils.ex +++ b/lib/pleroma/web/common_api/utils.ex @@ -504,7 +504,8 @@ defmodule Pleroma.Web.CommonAPI.Utils do end end - def get_report_statuses(%User{ap_id: actor}, %{"status_ids" => status_ids}) do + def get_report_statuses(%User{ap_id: actor}, %{status_ids: status_ids}) + when is_list(status_ids) do {:ok, Activity.all_by_actor_and_id(actor, status_ids)} end |