diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-02-13 15:45:35 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-02-17 14:15:33 +0300 |
commit | a0977a1f1e450653bdc48630e9aada550dea1793 (patch) | |
tree | 65b6b1a9b5e3b37d7f32234d29156df3210a46f0 /lib/pleroma/web/router.ex | |
parent | 5178c8dbc34db3b78eaa21a2f46300ac1a639c8c (diff) | |
download | pleroma-fix/1518-admin-reports-timeout.tar.gz |
optimization for group reportsfix/1518-admin-reports-timeout
Diffstat (limited to 'lib/pleroma/web/router.ex')
-rw-r--r-- | lib/pleroma/web/router.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 897215698..5b5facda8 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -184,7 +184,8 @@ defmodule Pleroma.Web.Router do patch("/users/resend_confirmation_email", AdminAPIController, :resend_confirmation_email) get("/reports", AdminAPIController, :list_reports) - get("/grouped_reports", AdminAPIController, :list_grouped_reports) + get("/grouped_reports", AdminAPIController, :list_grouped_reports_new) + get("/grouped_reports_new", AdminAPIController, :list_grouped_reports_new) get("/reports/:id", AdminAPIController, :report_show) patch("/reports", AdminAPIController, :reports_update) post("/reports/:id/notes", AdminAPIController, :report_notes_create) |