Fix if clause in activity_pub user_view
This commit is contained in:
parent
28bfb09b01
commit
f753043ce0
1 changed files with 2 additions and 0 deletions
|
@ -239,6 +239,8 @@ def collection(collection, iri, page, show_items \\ true, total \\ nil) do
|
|||
|
||||
if offset < total do
|
||||
Map.put(map, "next", "#{iri}?page=#{page + 1}")
|
||||
else
|
||||
map
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue