fix tests and mongo method

This commit is contained in:
barisusakli
2014-12-31 15:59:57 -05:00
parent b443aec450
commit 03ee524121
2 changed files with 2 additions and 2 deletions

View File

@@ -153,7 +153,7 @@ module.exports = function(db, module) {
};
module.getSortedSetRangeByScoreWithScores = function(key, start, count, min, max, callback) {
getSortedSetRangeByScore(key, start, count, min, max, -1, true, callback);
getSortedSetRangeByScore(key, start, count, min, max, 1, true, callback);
};
module.getSortedSetRevRangeByScoreWithScores = function(key, start, count, max, min, callback) {