fix redis union

This commit is contained in:
barisusakli
2016-12-23 14:26:05 +03:00
parent b71ab64cf4
commit e1253f693a
2 changed files with 5 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ module.exports = function (redisClient, module) {
function sortedSetRange(method, key, start, stop, withScores, callback) {
if (Array.isArray(key)) {
return sortedSetUnion({method: method, sets: key, start: start, stop: stop, withScores: withScores}, callback);
return module.sortedSetUnion({method: method, sets: key, start: start, stop: stop, withScores: withScores}, callback);
}
var params = [key, start, stop];