From: sxsdv1 Date: Thu, 17 Jan 2019 17:21:43 +0000 (+0100) Subject: Fix bad link in likes collection X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=948fba6f7663119ac4e0458aa803612ee1a2c1ca;p=akkoma Fix bad link in likes collection Don't copy and paste, mkay --- 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