projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce2efd1
)
Fix bad link in likes collection
author
sxsdv1
<sxsdv1@gmail.com>
Thu, 17 Jan 2019 17:21:43 +0000
(18:21 +0100)
committer
sxsdv1
<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
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/views/object_view.ex
b/lib/pleroma/web/activity_pub/views/object_view.ex
index 1930420562b28b470de6fc1dad058a63d83154fa..394d82fbca48d12eca7f57ff06498d8956cd7867 100644
(file)
--- a/
lib/pleroma/web/activity_pub/views/object_view.ex
+++ b/
lib/pleroma/web/activity_pub/views/object_view.ex
@@
-46,7
+46,7
@@
defmodule Pleroma.Web.ActivityPub.ObjectView do
"id" => "#{ap_id}/likes",
"type" => "OrderedCollection",
"totalItems" => length(likes),
- "first" => collection(likes, "#{ap_id}/
follower
s", 1)
+ "first" => collection(likes, "#{ap_id}/
like
s", 1)
}
|> Map.merge(Pleroma.Web.ActivityPub.Utils.make_json_ld_header())
end