Skip to content
Snippets Groups Projects
Commit 144b48da authored by Sadposter's avatar Sadposter
Browse files

Add link headers to MastoAPI /favourites

parent 19b6a823
Branches
No related tags found
No related merge requests found
......@@ -836,6 +836,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
|> Enum.reverse()
conn
|> add_link_headers(:favourites, activities)
|> put_view(StatusView)
|> render("index.json", %{activities: activities, for: user, as: :activity})
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment