Merge remote-tracking branch 'origin/develop' into reactions
[akkoma] / lib / pleroma / web / admin_api / admin_api_controller.ex
index 90aef99f7857d921e92055f980adb5810fc08bef..21da8a7ff1e933adc24b71ca196eeeb3face5bc1 100644 (file)
@@ -513,7 +513,7 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIController do
 
       conn
       |> put_view(StatusView)
-      |> render("status.json", %{activity: activity})
+      |> render("show.json", %{activity: activity})
     else
       true ->
         {:param_cast, nil}
@@ -537,7 +537,7 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIController do
 
       conn
       |> put_view(StatusView)
-      |> render("status.json", %{activity: activity})
+      |> render("show.json", %{activity: activity})
     end
   end