diff --git a/db.js b/db.js index 62ea2b6..dad67ea 100644 --- a/db.js +++ b/db.js @@ -48,7 +48,7 @@ module.exports = function(name){ this.get_v = function(cid){ return new Promise((resolve, reject)=>{ - resolve(this.db.find({id:cid}).value().tracking); + resolve(this.db.find({id:cid}).value()); }); }