mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 10:09:02 +00:00
remove old user create and delete routes for admin
This commit is contained in:
parent
e394fc2eef
commit
37229af15f
|
@ -151,10 +151,6 @@ defmodule Pleroma.Web.Router do
|
||||||
post("/users/follow", AdminAPIController, :user_follow)
|
post("/users/follow", AdminAPIController, :user_follow)
|
||||||
post("/users/unfollow", AdminAPIController, :user_unfollow)
|
post("/users/unfollow", AdminAPIController, :user_unfollow)
|
||||||
|
|
||||||
# TODO: to be removed at version 1.0
|
|
||||||
delete("/user", AdminAPIController, :user_delete)
|
|
||||||
post("/user", AdminAPIController, :user_create)
|
|
||||||
|
|
||||||
delete("/users", AdminAPIController, :user_delete)
|
delete("/users", AdminAPIController, :user_delete)
|
||||||
post("/users", AdminAPIController, :users_create)
|
post("/users", AdminAPIController, :users_create)
|
||||||
patch("/users/:nickname/toggle_activation", AdminAPIController, :user_toggle_activation)
|
patch("/users/:nickname/toggle_activation", AdminAPIController, :user_toggle_activation)
|
||||||
|
|
Loading…
Reference in a new issue