v1.18.x
barisusakli 8 years ago
parent 21861fa931
commit ae5deff3d5

@ -389,10 +389,10 @@ module.exports = function (Topics) {
}; };
function getPostReplies(pids, callerUid, callback) { function getPostReplies(pids, callerUid, callback) {
var uids = [];
var count = 0; var count = 0;
var replyPids; var replyPids;
async.map(pids, function (pid, _next) { async.map(pids, function (pid, _next) {
var uids = [];
async.waterfall([ async.waterfall([
function (next) { function (next) {
db.getSortedSetRange('pid:' + pid + ':replies', 0, -1, next); db.getSortedSetRange('pid:' + pid + ':replies', 0, -1, next);

Loading…
Cancel
Save