From: rinpatch Date: Wed, 25 Sep 2019 13:38:45 +0000 (+0000) Subject: Apply suggestion to lib/pleroma/web/activity_pub/views/user_view.ex X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f92d7d52c20e951d31f0dedc16bde3aeb6687374;p=akkoma Apply suggestion to 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 5dbb5992f..4e37be5db 100644 --- 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