From 45b716037c581dec953a01ef943bb28dc849485c Mon Sep 17 00:00:00 2001 From: Garret Alfert Date: Wed, 28 Jul 2021 22:08:25 +0200 Subject: [PATCH] getConfig returns an object --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {