Skip to content

Commit 06c9acc

Browse files
QFix: Use actual Gmail address (#9727)
Signed-off-by: Artem Savchenko <[email protected]>
1 parent 4b9150f commit 06c9acc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/gmail/pod-gmail/src/gmail.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export class GmailClient {
190190
} else if (token !== undefined) {
191191
oAuth2Client.setCredentials(token)
192192
}
193-
const email = user.email ?? (await getEmail(googleClient))
193+
const email = await getEmail(googleClient)
194194
if (email === undefined) {
195195
throw new Error('Cannot retrieve user email')
196196
}

0 commit comments

Comments
 (0)