add list of devices in settings
Change-Id: Ib8e8f11647d96049fbd14f8c55dd885856930656
diff --git a/routes/jami.js b/routes/jami.js
index 32c2d1c..f98cbfe 100644
--- a/routes/jami.js
+++ b/routes/jami.js
@@ -57,8 +57,8 @@
const account = this.jami.getAccount(req.params.accountId)
if (account) {
account.defaultModerators = this.jami.getDefaultModerators(account.getId())
- const obj = await account.getObject()
- console.log(obj)
+ const obj = await account.getObject();
+ obj.devices = this.jami.getDevices(req.params.accountId);
res.json(obj)
} else
res.status(404).end()