mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 20:11:26 +01:00
more refactors
This commit is contained in:
@@ -38,7 +38,7 @@ module.exports = function(User) {
|
||||
var uids = users.map(function(user) {
|
||||
return user.score;
|
||||
});
|
||||
User.getMultipleUserFields(uids, ['uid', 'email', 'username'], next);
|
||||
User.getUsersFields(uids, ['uid', 'email', 'username'], next);
|
||||
},
|
||||
function(usersData, next) {
|
||||
usersData.forEach(function(user, index) {
|
||||
|
||||
Reference in New Issue
Block a user