fix(apple auth): minor fixes, make sure apple auth users are considered when sending emails

This commit is contained in:
Matteo Pagliazzi
2020-04-16 23:23:08 +02:00
parent 2b7fe7c1d5
commit 86d2fed76e
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ api.inviteToQuest = {
'party._id': group._id,
_id: { $ne: user._id },
})
.select('auth.facebook auth.google auth.local preferences.emailNotifications preferences.pushNotifications preferences.language profile.name pushDevices webhooks')
.select('auth preferences.emailNotifications preferences.pushNotifications preferences.language profile.name pushDevices webhooks')
.exec();
group.markModified('quest');