沈斌
2016-12-12 713a6addbde41a644e301372e91b43ac27311acc
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);
    });
};