mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-06 00:49:46 +00:00
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 @@ defmodule Pleroma.Web.ActivityPub.UserView do
|
||||||
|
|
||||||
if offset < total do
|
if offset < total do
|
||||||
Map.put(map, "next", "#{iri}?page=#{page + 1}")
|
Map.put(map, "next", "#{iri}?page=#{page + 1}")
|
||||||
|
else
|
||||||
|
map
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue