From: Sachin Joshi Date: Wed, 21 Aug 2019 18:30:00 +0000 (+0545) Subject: remove old user create and delete routes for admin X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=37229af15fe6d540e7b4a0b6e89f548a100d51c7;p=akkoma remove old user create and delete routes for admin --- diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index eb3ee03f3..445cf62e2 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -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)