Fix if clause in activity_pub user_view

This commit is contained in:
href 2019-02-06 18:42:19 +01:00
parent 28bfb09b01
commit f753043ce0
No known key found for this signature in database
GPG key ID: EE8296C1A152C325

View file

@ -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