AdminAPI: fix duplicated routes

This commit is contained in:
Alex Gleason 2021-12-27 16:58:10 -06:00
parent fd9260d1b5
commit a3fa987611
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

View File

@ -266,9 +266,6 @@ defmodule Pleroma.Web.Router do
post("/users/revoke_invite", InviteController, :revoke) post("/users/revoke_invite", InviteController, :revoke)
post("/users/email_invite", InviteController, :email) post("/users/email_invite", InviteController, :email)
patch("/users/force_password_reset", AdminAPIController, :force_password_reset)
get("/users/:nickname/credentials", AdminAPIController, :show_user_credentials)
get("/users", UserController, :index) get("/users", UserController, :index)
get("/users/:nickname", UserController, :show) get("/users/:nickname", UserController, :show)