more fixes

This commit is contained in:
barisusakli
2017-02-09 14:38:06 +03:00
parent ae5deff3d5
commit 2c527cdfeb

View File

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