v1.18.x
Baris Soner Usakli 11 years ago
parent b062af2c4b
commit cfaa6556d6

@ -87,11 +87,7 @@ SocketAdmin.user.search = function(socket, username, callback) {
}
async.each(data, isAdmin, function(err) {
if(err) {
return callback({message: err.message});
}
callback(null, data);
callback(err, data);
});
});
};

Loading…
Cancel
Save