From 3d442e70ee1dde10bd64d555dd4c9995160198a2 Mon Sep 17 00:00:00 2001 From: Bat Date: Fri, 4 May 2018 14:18:58 +0100 Subject: [PATCH] Add the follower endpoint to the User AP representation --- src/models/users.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/models/users.rs b/src/models/users.rs index 9568879..4fc7e04 100644 --- a/src/models/users.rs +++ b/src/models/users.rs @@ -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 }