1
0
Fork 0
forked from mirrors/akkoma

remove old user create and delete routes for admin

This commit is contained in:
Sachin Joshi 2019-08-22 00:15:00 +05:45
parent e394fc2eef
commit 37229af15f

View file

@ -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)