chore: eslint prefer-arrow-callback

This commit is contained in:
Peter Jaszkowiak
2021-02-04 00:01:39 -07:00
committed by Julian Lam
parent 707b55b6a5
commit b56d9e12b5
334 changed files with 4995 additions and 5182 deletions

View File

@@ -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);
});