projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e394fc2
)
remove old user create and delete routes for admin
author
Sachin Joshi
<satchin.joshi@gmail.com>
Wed, 21 Aug 2019 18:30:00 +0000
(
00:15
+0545)
committer
Sachin Joshi
<satchin.joshi@gmail.com>
Wed, 21 Aug 2019 18:30:00 +0000
(
00:15
+0545)
lib/pleroma/web/router.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/router.ex
b/lib/pleroma/web/router.ex
index eb3ee03f30ffda19ab09c7f27e5594bb558a7926..445cf62e2d5f3f59fd8cebbeea1c999bd807b42b 100644
(file)
--- 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)