im bad at merge conflicts
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
parent
1fd94ed001
commit
f1586f0230
1 changed files with 5 additions and 0 deletions
|
|
@ -649,6 +649,11 @@ defmodule Pleroma.Web.Router do
|
||||||
end
|
end
|
||||||
|
|
||||||
scope "/api/v1/pleroma", Pleroma.Web.MastodonAPI do
|
scope "/api/v1/pleroma", Pleroma.Web.MastodonAPI do
|
||||||
|
pipe_through(:api)
|
||||||
|
get("/accounts/:id/endorsements", AccountController, :endorsements)
|
||||||
|
end
|
||||||
|
|
||||||
|
scope "/api/v2/pleroma", Pleroma.Web.PleromaAPI do
|
||||||
scope [] do
|
scope [] do
|
||||||
pipe_through(:authenticated_api)
|
pipe_through(:authenticated_api)
|
||||||
get("/chats", ChatController, :index2)
|
get("/chats", ChatController, :index2)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue