Move subscriptions endpoint to be under /pleroma

This commit is contained in:
Sadposter 2019-04-05 15:58:44 +01:00 committed by Hannah Ward
parent 73afd13c21
commit d35f6551c1

View file

@ -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