Node.js based forum software built for the modern web
fixed a bug calling getSortedSetRangeByScoreWithScores
psychobunnyeffcd205977c
diff --git a/src/rewards/index.js b/src/rewards/index.jsindex c693b550fc..1b46b190d9 100644--- a/src/rewards/index.js+++ b/src/rewards/index.js@@ -68,7 +68,7 @@ function getIDsByCondition(condition, callback) {}function filterCompletedRewards(uid, rewards, callback) {- db.getSortedSetRangeByScoreWithScores('uid:' + uid + ':rewards', 0, -1, 1, Infinity, function(err, data) {+ db.getSortedSetRangeByScoreWithScores('uid:' + uid + ':rewards', 0, -1, 1, '+inf', function(err, data) {if (err) {return callback(err);}