projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09de76a
)
Fix follower collection id.
author
lain
<lain@soykaf.club>
Sun, 25 Mar 2018 17:34:33 +0000
(19:34 +0200)
committer
lain
<lain@soykaf.club>
Sun, 25 Mar 2018 17:34:33 +0000
(19:34 +0200)
lib/pleroma/web/activity_pub/views/user_view.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/views/user_view.ex
b/lib/pleroma/web/activity_pub/views/user_view.ex
index 5266dc7bec3636d7f7d0f946052ca206f05e0a89..9ff1f0c774dc421b3c1f1a77cdab9a0294058e7f 100644
(file)
--- a/
lib/pleroma/web/activity_pub/views/user_view.ex
+++ b/
lib/pleroma/web/activity_pub/views/user_view.ex
@@
-86,7
+86,7
@@
defmodule Pleroma.Web.ActivityPub.UserView do
def render("followers.json", %{user: user}) do
{:ok, followers} = User.get_followers(user)
%{
- "id" => "#{user.ap_id}/follow
ing
",
+ "id" => "#{user.ap_id}/follow
ers
",
"type" => "OrderedCollection",
"totalItems" => length(followers),
"first" => collection(followers, "#{user.ap_id}/followers", 1)