From 2c1c221301ee91a8bccc1da2dc658b0f5a5598c9 Mon Sep 17 00:00:00 2001 From: lain Date: Sun, 25 Mar 2018 19:34:33 +0200 Subject: [PATCH] Fix follower collection id. --- lib/pleroma/web/activity_pub/views/user_view.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2