fix more tests

This commit is contained in:
barisusakli
2014-12-25 03:00:05 -05:00
parent b6639403fe
commit 410d9fa4fa
2 changed files with 4 additions and 2 deletions

View File

@@ -91,7 +91,9 @@ module.exports = function(db, module) {
if (!Array.isArray(keys) || !keys.length) {
return callback();
}
db.collection('objects').remove({_key: {$in: keys}}, callback);
db.collection('objects').remove({_key: {$in: keys}}, function(err, res) {
callback(err);
});
};
module.get = function(key, callback) {