forked from AkkomaGang/akkoma
Fix bad link in likes collection
Don't copy and paste, mkay
This commit is contained in:
parent
ce2efd1ee2
commit
948fba6f76
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ def render("likes.json", ap_id, likes) 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