mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-04 23:00:31 +01:00
use helpers, redis crash fix
This commit is contained in:
@@ -70,6 +70,7 @@ module.exports = function(redisClient, module) {
|
||||
};
|
||||
|
||||
module.delete = function(key, callback) {
|
||||
callback = callback || function() {};
|
||||
redisClient.del(key, function(err, res) {
|
||||
callback(err);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user