fix(lint): arrow fn

This commit is contained in:
SabreCat
2023-08-08 01:08:11 -05:00
parent d4e3e83d46
commit 43c10f75c3

View File

@@ -412,9 +412,7 @@ api.getUserChallenges = {
user, user,
types: ['party', 'guilds', 'tavern'], types: ['party', 'guilds', 'tavern'],
}); });
const userGroupIds = userGroups.map((userGroup) => { const userGroupIds = userGroups.map(userGroup => userGroup._id);
return userGroup._id;
});
orOptions.push({ orOptions.push({
group: { $in: userGroupIds }, group: { $in: userGroupIds },
}); });