Skip to content
Snippets Groups Projects
Commit 2c1c2213 authored by lain's avatar lain
Browse files

Fix follower collection id.

parent 09de76ad
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment