mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 11:19:19 +00:00
Merge branch 'bad-copy-paste' into 'develop'
Fix bad link in likes collection See merge request pleroma/pleroma!679
This commit is contained in:
commit
ae8a5942cf
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectView do
|
||||||
"id" => "#{ap_id}/likes",
|
"id" => "#{ap_id}/likes",
|
||||||
"type" => "OrderedCollection",
|
"type" => "OrderedCollection",
|
||||||
"totalItems" => length(likes),
|
"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())
|
|> Map.merge(Pleroma.Web.ActivityPub.Utils.make_json_ld_header())
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue