mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-27 08:15:12 +01: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/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)
|
||||
post("/users", AdminAPIController, :users_create)
|
||||
patch("/users/:nickname/toggle_activation", AdminAPIController, :user_toggle_activation)
|
||||
|
Loading…
Reference in New Issue
Block a user