This commit is contained in:
barisusakli
2015-01-29 17:12:12 -05:00
parent 530bdbbd1a
commit d1a1cada19

View File

@@ -105,7 +105,7 @@ module.exports = function(redisClient, module) {
module.rename = function(oldKey, newKey, callback) {
callback = callback || function() {};
redisClient.exist(oldKey, function(err, exists) {
redisClient.exists(oldKey, function(err, exists) {
if (err || !exists) {
return callback(err);
}