From 948fba6f7663119ac4e0458aa803612ee1a2c1ca Mon Sep 17 00:00:00 2001 From: sxsdv1 Date: Thu, 17 Jan 2019 18:21:43 +0100 Subject: [PATCH] Fix bad link in likes collection Don't copy and paste, mkay --- lib/pleroma/web/activity_pub/views/object_view.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/activity_pub/views/object_view.ex b/lib/pleroma/web/activity_pub/views/object_view.ex index 193042056..394d82fbc 100644 --- a/lib/pleroma/web/activity_pub/views/object_view.ex +++ b/lib/pleroma/web/activity_pub/views/object_view.ex @@ -46,7 +46,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectView do "id" => "#{ap_id}/likes", "type" => "OrderedCollection", "totalItems" => length(likes), - "first" => collection(likes, "#{ap_id}/followers", 1) + "first" => collection(likes, "#{ap_id}/likes", 1) } |> Map.merge(Pleroma.Web.ActivityPub.Utils.make_json_ld_header()) end -- 2.45.2