Extract status actions from MastodonAPIController into StatusController

This commit is contained in:
Egor Kislitsyn 2019-09-09 21:49:02 +07:00
commit 98d1347a4e
13 changed files with 354 additions and 328 deletions

View file

@ -61,7 +61,7 @@ defmodule Pleroma.Web.AdminAPI.ReportViewTest do
AccountView.render("account.json", %{user: other_user}),
Pleroma.Web.AdminAPI.AccountView.render("show.json", %{user: other_user})
),
statuses: [StatusView.render("status.json", %{activity: activity})],
statuses: [StatusView.render("show.json", %{activity: activity})],
state: "open",
id: report_activity.id
}