method.js @@ -93,7 +93,7 @@ this.updateDeviceLastUpdated(db, mac, function(data) {}); db.collection("devices").find({ mac: mac }).limit(1).next(function(err, doc){ if (err) return; if (err || doc == null) return; callback(doc); }); };