mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-04 14:50:47 +01:00
fixed a bug calling getSortedSetRangeByScoreWithScores
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user