mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
fix(lint): arrow fn
This commit is contained in:
@@ -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 },
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user