Fix bad link in likes collection
authorsxsdv1 <sxsdv1@gmail.com>
Thu, 17 Jan 2019 17:21:43 +0000 (18:21 +0100)
committersxsdv1 <sxsdv1@gmail.com>
Thu, 17 Jan 2019 17:21:43 +0000 (18:21 +0100)
Don't copy and paste, mkay

lib/pleroma/web/activity_pub/views/object_view.ex

index 1930420562b28b470de6fc1dad058a63d83154fa..394d82fbca48d12eca7f57ff06498d8956cd7867 100644 (file)
@@ -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