mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 23:30:36 +01:00
Merge branch 'master' of https://github.com/NodeBB/NodeBB
This commit is contained in:
@@ -51,7 +51,7 @@ exports.processSortedSet = function (setKey, process, options, callback) {
|
||||
function (next) {
|
||||
async.waterfall([
|
||||
function (next) {
|
||||
db.getSortedSetRange(setKey, start, stop, next);
|
||||
db['getSortedSetRange' + (options.withScores ? 'WithScores' : '')](setKey, start, stop, next);
|
||||
},
|
||||
function (ids, _next) {
|
||||
if (!ids.length || options.doneIf(start, stop, ids)) {
|
||||
|
||||
Reference in New Issue
Block a user