Merge branch 'split-masto-api/reports' into 'develop'

Extract report actions from `MastodonAPIController` to `ReportController`

See merge request pleroma/pleroma!1744
This commit is contained in:
kaniini 2019-09-30 11:17:30 +00:00
commit 0e356cc800
6 changed files with 106 additions and 96 deletions

View file

@ -407,7 +407,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