Add the follower endpoint to the User AP representation

This commit is contained in:
Bat 2018-05-04 14:18:58 +01:00
parent 92af83565e
commit 3d442e70ee
1 changed files with 1 additions and 0 deletions

View File

@ -270,6 +270,7 @@ impl Actor for User {
"owner": self.compute_id(conn),
"publicKeyPem": self.public_key
}));
res.insert("followers".to_string(), serde_json::Value::String(self.compute_box(conn, "followers")));
res
}