Merge branch 'bad-copy-paste' into 'develop'

Fix bad link in likes collection

See merge request pleroma/pleroma!679
This commit is contained in:
kaniini 2019-01-17 19:22:21 +00:00
commit ae8a5942cf

View file

@ -46,7 +46,7 @@ def render("likes.json", ap_id, likes) 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