mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
fix more tests
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user