projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix build. Too eager with the fixing of unused variables.
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
views
/
user_view.ex
diff --git
a/lib/pleroma/web/activity_pub/views/user_view.ex
b/lib/pleroma/web/activity_pub/views/user_view.ex
index 733e5fb57aa4571240ffb92b7f80a2f8f275e863..d6bf71884492604075eb7f4d50bca2c5619c8f9a 100644
(file)
--- a/
lib/pleroma/web/activity_pub/views/user_view.ex
+++ b/
lib/pleroma/web/activity_pub/views/user_view.ex
@@
-51,7
+51,7
@@
defmodule Pleroma.Web.ActivityPub.UserView do
offset = (page - 1) * 10
items = Enum.slice(collection, offset, 10)
items = Enum.map(items, fn user -> user.ap_id end)
-
_
total = _total || length(collection)
+ total = _total || length(collection)
map = %{
"id" => "#{iri}?page=#{page}",