mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
more refactors
This commit is contained in:
@@ -191,7 +191,7 @@ function getMatchedPosts(pids, data, callback) {
|
||||
var uids = posts.map(function(post) {
|
||||
return post.uid;
|
||||
});
|
||||
user.getMultipleUserFields(uids, ['username'], next);
|
||||
user.getUsersFields(uids, ['username'], next);
|
||||
} else {
|
||||
next();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user