Commit 144b48da authored by Sadposter's avatar Sadposter
Browse files

Add link headers to MastoAPI /favourites

As documented at
parent 19b6a823
......@@ -836,6 +836,7 @@ def favourites(%{assigns: %{user: user}} = conn, _) do
|> Enum.reverse()
|> add_link_headers(:favourites, activities)
|> put_view(StatusView)
|> render("index.json", %{activities: activities, for: user, as: :activity})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment