From: lain Date: Sun, 25 Mar 2018 17:34:33 +0000 (+0200) Subject: Fix follower collection id. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=2c1c221301ee91a8bccc1da2dc658b0f5a5598c9;p=akkoma Fix follower collection id. --- diff --git a/lib/pleroma/web/activity_pub/views/user_view.ex b/lib/pleroma/web/activity_pub/views/user_view.ex index 5266dc7be..9ff1f0c77 100644 --- 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}/following", + "id" => "#{user.ap_id}/followers", "type" => "OrderedCollection", "totalItems" => length(followers), "first" => collection(followers, "#{user.ap_id}/followers", 1)