diff --git a/index.js b/index.js index bf3c7ab..b611e6a 100644 --- a/index.js +++ b/index.js @@ -63,7 +63,7 @@ const Kosmos = function(privateClient/*, publicClient*/) { }, getConfig(id) { - return privateClient.getAll(`chat/${id}/account`); + return privateClient.getObject(`chat/${id}/account`); }, storeConfig(obj) {