remove old user create and delete routes for admin
authorSachin Joshi <satchin.joshi@gmail.com>
Wed, 21 Aug 2019 18:30:00 +0000 (00:15 +0545)
committerSachin Joshi <satchin.joshi@gmail.com>
Wed, 21 Aug 2019 18:30:00 +0000 (00:15 +0545)
lib/pleroma/web/router.ex

index eb3ee03f30ffda19ab09c7f27e5594bb558a7926..445cf62e2d5f3f59fd8cebbeea1c999bd807b42b 100644 (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)