mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 23:40:38 +01:00
chore: eslint prefer-arrow-callback
This commit is contained in:
committed by
Julian Lam
parent
707b55b6a5
commit
b56d9e12b5
@@ -49,7 +49,7 @@ editController.get = async function (req, res, next) {
|
||||
}
|
||||
return i1 - i2;
|
||||
});
|
||||
userData.groups.forEach(function (group) {
|
||||
userData.groups.forEach((group) => {
|
||||
group.userTitle = group.userTitle || group.displayName;
|
||||
group.selected = userData.groupTitleArray.includes(group.name);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user