mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
fix(emails): make sure quest invitations are sent to users that signed up with google, fixes #10389 (#10393)
This commit is contained in:
@@ -81,7 +81,7 @@ api.inviteToQuest = {
|
|||||||
'party._id': group._id,
|
'party._id': group._id,
|
||||||
_id: {$ne: user._id},
|
_id: {$ne: user._id},
|
||||||
})
|
})
|
||||||
.select('auth.facebook auth.local preferences.emailNotifications profile.name pushDevices')
|
.select('auth.facebook auth.google auth.local preferences.emailNotifications profile.name pushDevices')
|
||||||
.exec();
|
.exec();
|
||||||
|
|
||||||
group.markModified('quest');
|
group.markModified('quest');
|
||||||
|
|||||||
Reference in New Issue
Block a user