mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
faster getTeasers
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user