1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-27 08:55:07 +01:00

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)