Merge branch 'fix-list-timelines' into 'develop'
Add Link header to list timelines See merge request soapbox-pub/soapbox!37
This commit is contained in:
commit
bde6670a06
1 changed files with 3 additions and 1 deletions
|
@ -203,7 +203,9 @@ def list(%{assigns: %{user: user}} = conn, %{list_id: id} = params) do
|
||||||
|> ActivityPub.fetch_activities_bounded(following, params)
|
|> ActivityPub.fetch_activities_bounded(following, params)
|
||||||
|> Enum.reverse()
|
|> Enum.reverse()
|
||||||
|
|
||||||
render(conn, "index.json",
|
conn
|
||||||
|
|> add_link_headers(activities)
|
||||||
|
|> render("index.json",
|
||||||
activities: activities,
|
activities: activities,
|
||||||
for: user,
|
for: user,
|
||||||
as: :activity,
|
as: :activity,
|
||||||
|
|
Loading…
Reference in a new issue