diff --git a/src/activitypub/user.rs b/src/activitypub/user.rs index 2c088ac3..6d6e1043 100644 --- a/src/activitypub/user.rs +++ b/src/activitypub/user.rs @@ -61,10 +61,10 @@ pub async fn followers( }); Ok(JsonLD( serde_json::Value::new_object() - .set_id(Some(&format!("{}/users/{}/following", ctx.base(), id))) + .set_id(Some(&format!("{}/users/{}/followers", ctx.base(), id))) .set_collection_type(Some(CollectionType::OrderedCollection)) .set_total_items(Some(count)) - .set_first(Node::link(format!("{}/users/{}/following?page=true", ctx.base(), id))) + .set_first(Node::link(format!("{}/users/{}/followers?page=true", ctx.base(), id))) .ld_context() )) }