use params

v1.18.x
Baris Usakli 6 years ago
parent 1486714081
commit e613f88b29

@ -187,7 +187,7 @@ module.exports = function (Topics) {
async.waterfall([
function (next) {
tids = tids.slice(params.start, params.stop !== -1 ? params.stop + 1 : undefined);
Topics.getTopicsByTids(tids, params.uid, next);
Topics.getTopicsByTids(tids, params, next);
},
function (topicData, next) {
Topics.calculateTopicIndices(topicData, params.start);

Loading…
Cancel
Save