mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
fix tabs
This commit is contained in:
@@ -249,7 +249,7 @@ module.exports = function(redisClient, module) {
|
|||||||
params.push('WITHSCORES');
|
params.push('WITHSCORES');
|
||||||
}
|
}
|
||||||
|
|
||||||
var multi = redisClient.multi();
|
var multi = redisClient.multi();
|
||||||
multi.zunionstore([tempSetName, sets.length].concat(sets));
|
multi.zunionstore([tempSetName, sets.length].concat(sets));
|
||||||
multi[method](params);
|
multi[method](params);
|
||||||
multi.del(tempSetName);
|
multi.del(tempSetName);
|
||||||
@@ -315,7 +315,7 @@ module.exports = function(redisClient, module) {
|
|||||||
rangeParams.push('WITHSCORES');
|
rangeParams.push('WITHSCORES');
|
||||||
}
|
}
|
||||||
|
|
||||||
var multi = redisClient.multi();
|
var multi = redisClient.multi();
|
||||||
multi.zinterstore(interParams);
|
multi.zinterstore(interParams);
|
||||||
multi[params.method](rangeParams);
|
multi[params.method](rangeParams);
|
||||||
multi.del(tempSetName);
|
multi.del(tempSetName);
|
||||||
|
|||||||
Reference in New Issue
Block a user