Move subscriptions endpoint to be under /pleroma
This commit is contained in:
parent
73afd13c21
commit
d35f6551c1
|
@ -495,14 +495,14 @@ defmodule Pleroma.Web.Router do
|
|||
post("/pleroma/friendships/approve", TwitterAPI.Controller, :approve_friend_request)
|
||||
post("/pleroma/friendships/deny", TwitterAPI.Controller, :deny_friend_request)
|
||||
|
||||
post("/pleroma/subscriptions/create", TwitterAPI.Controller, :subscribe)
|
||||
post("/pleroma/subscriptions/destroy", TwitterAPI.Controller, :unsubscribe)
|
||||
|
||||
post("/friendships/create", TwitterAPI.Controller, :follow)
|
||||
post("/friendships/destroy", TwitterAPI.Controller, :unfollow)
|
||||
|
||||
post("/blocks/create", TwitterAPI.Controller, :block)
|
||||
post("/blocks/destroy", TwitterAPI.Controller, :unblock)
|
||||
|
||||
post("/subscriptions/create", TwitterAPI.Controller, :subscribe)
|
||||
post("/subscriptions/destroy", TwitterAPI.Controller, :unsubscribe)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue