We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 42461b6 + a611c8c commit 5d30869Copy full SHA for 5d30869
1 file changed
packages/fxa-auth-server/lib/routes/subscriptions/support.ts
@@ -37,7 +37,7 @@ export const supportRoutes = (
37
38
try {
39
const account = await db.accountRecord(email);
40
- return { uid: account.uid, email: account.email };
+ return { uid: account.uid, email: account.primaryEmail.email };
41
} catch (err: any) {
42
if (err.errno === AppError.ERRNO.ACCOUNT_UNKNOWN) {
43
return { uid: null, email };
0 commit comments