Add the follower endpoint to the User AP representation
This commit is contained in:
parent
92af83565e
commit
3d442e70ee
@ -270,6 +270,7 @@ impl Actor for User {
|
|||||||
"owner": self.compute_id(conn),
|
"owner": self.compute_id(conn),
|
||||||
"publicKeyPem": self.public_key
|
"publicKeyPem": self.public_key
|
||||||
}));
|
}));
|
||||||
|
res.insert("followers".to_string(), serde_json::Value::String(self.compute_box(conn, "followers")));
|
||||||
res
|
res
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user