Fix bad link in likes collection

Don't copy and paste, mkay
This commit is contained in:
sxsdv1 2019-01-17 18:21:43 +01:00
parent ce2efd1ee2
commit 948fba6f76

View 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