This commit is contained in:
Cedric Hoelzl 2020-07-01 11:37:29 +02:00
parent 4d90a66cdd
commit df3e27bb0b

2
db.js
View File

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