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()); }); }