mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-08 13:11:30 +02:00
only send back err on redis.deleteAll
This commit is contained in:
@@ -81,7 +81,9 @@ module.exports = function(redisClient, module) {
|
||||
for(var i=0; i<keys.length; ++i) {
|
||||
multi.del(keys[i]);
|
||||
}
|
||||
multi.exec(callback);
|
||||
multi.exec(function(err, res) {
|
||||
callback(err);
|
||||
});
|
||||
};
|
||||
|
||||
module.get = function(key, callback) {
|
||||
|
||||
Reference in New Issue
Block a user