projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'fix/2291-atom-feed-escape' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
admin_api
/
controllers
/
report_controller.ex
diff --git
a/lib/pleroma/web/admin_api/controllers/report_controller.ex
b/lib/pleroma/web/admin_api/controllers/report_controller.ex
index 86da93893955ac108c0d17aa7bef288726178738..6a0e56f5fdd466cac99a0b56ab6d81e32f335bde 100644
(file)
--- a/
lib/pleroma/web/admin_api/controllers/report_controller.ex
+++ b/
lib/pleroma/web/admin_api/controllers/report_controller.ex
@@
-38,7
+38,7
@@
defmodule Pleroma.Web.AdminAPI.ReportController do
end
def show(conn, %{id: id}) do
- with %Activity{} = report <- Activity.get_
by_id
(id) do
+ with %Activity{} = report <- Activity.get_
report
(id) do
render(conn, "show.json", Report.extract_report_info(report))
else
_ -> {:error, :not_found}