From df3e27bb0bb7e023f3a95d70205a95bb07dbb519 Mon Sep 17 00:00:00 2001 From: Cedric Hoelzl Date: Wed, 1 Jul 2020 11:37:29 +0200 Subject: [PATCH] kk --- db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.js b/db.js index 8715330..690e90b 100644 --- a/db.js +++ b/db.js @@ -50,7 +50,7 @@ module.exports = function(name){ this.get_v = function(cid){ this.get_chat(cid); return new Promise((resolve, reject)=>{ - resolve(this.db.get("chats").find({id:cid}).value()); + resolve(this.db.get("chats").find({id:cid}).get('tracking').value()); }); }