faster getTeasers

This commit is contained in:
barisusakli
2014-12-19 23:56:51 -05:00
parent 14e46a87a6
commit 83312ad53a
2 changed files with 49 additions and 41 deletions

View File

@@ -155,7 +155,7 @@ var async = require('async'),
async.parallel({
teasers: function(next) {
Topics.getTeasers(tids, next);
Topics.getTeasers(topics, next);
},
users: function(next) {
user.getMultipleUserFields(uids, ['uid', 'username', 'userslug', 'picture'], next);