projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2880d7
)
Apply suggestion to lib/pleroma/web/activity_pub/views/user_view.ex
author
rinpatch
<rinpatch@sdf.org>
Wed, 25 Sep 2019 13:38:45 +0000
(13:38 +0000)
committer
rinpatch
<rinpatch@sdf.org>
Wed, 25 Sep 2019 13:38:45 +0000
(13:38 +0000)
lib/pleroma/web/activity_pub/views/user_view.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/views/user_view.ex
b/lib/pleroma/web/activity_pub/views/user_view.ex
index 5dbb5992f6692f8fc30f2f33a87360af86e4f8e5..4e37be5dbe0ad7a6036aed765830222b1bbb4c86 100644
(file)
--- a/
lib/pleroma/web/activity_pub/views/user_view.ex
+++ b/
lib/pleroma/web/activity_pub/views/user_view.ex
@@
-238,15
+238,14
@@
defmodule Pleroma.Web.ActivityPub.UserView do
}
end
-
page =
%{
+ %{
"id" => "#{iri}?max_id=#{max_id}&page=true",
"type" => "OrderedCollectionPage",
"partOf" => iri,
"orderedItems" => collection,
"next" => "#{iri}?max_id=#{min_id}&page=true"
}
-
- page |> Map.merge(Utils.make_json_ld_header())
+ |> Map.merge(Utils.make_json_ld_header())
end
def collection(collection, iri, page, show_items \\ true, total \\ nil) do