fix callback in redis.setRemove

This commit is contained in:
barisusakli
2014-12-24 15:52:37 -05:00
parent 00fb3ab909
commit 37235557bb

View File

@@ -20,6 +20,7 @@ module.exports = function(redisClient, module) {
};
module.setRemove = function(key, value, callback) {
callback = callback || function() {};
redisClient.srem(key, value, function(err, res) {
callback(err);
});