Extract report actions from MastodonAPIController to ReportController
Update MastodonAPI.ReportView
This commit is contained in:
parent
90537f3981
commit
b7f27a4f58
6 changed files with 106 additions and 96 deletions
|
|
@ -396,7 +396,7 @@ defmodule Pleroma.Web.Router do
|
|||
get("/pleroma/mascot", MastodonAPIController, :get_mascot)
|
||||
put("/pleroma/mascot", MastodonAPIController, :set_mascot)
|
||||
|
||||
post("/reports", MastodonAPIController, :reports)
|
||||
post("/reports", ReportController, :create)
|
||||
end
|
||||
|
||||
scope [] do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue