Skip to content

fix(auth): Update '/support/ticket' endpoint to return primary email#20206

Merged
LZoog merged 1 commit intomainfrom
FXA-13289
Mar 18, 2026
Merged

fix(auth): Update '/support/ticket' endpoint to return primary email#20206
LZoog merged 1 commit intomainfrom
FXA-13289

Conversation

@LZoog
Copy link
Copy Markdown
Contributor

@LZoog LZoog commented Mar 17, 2026

Because:

  • We are returning account.email which may not be the user's primary email

This commit:

  • Updates the getAccountInfo helper used by this endpoint to return the user's primary email

fixes FXA-13289

--

Looked like our tests already mock primaryEmail, so doesn't seem like we need an update there but we'll see what CI says.

Because:
* We are returning account.email which may not be the user's primary email

This commit:
* Updates the getAccountInfo helper used by this endpoint to return the user's primary email

fixes FXA-13289
@LZoog LZoog requested a review from a team as a code owner March 17, 2026 21:15
@LZoog LZoog merged commit 5d30869 into main Mar 18, 2026
21 checks passed
@LZoog LZoog deleted the FXA-13289 branch March 18, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants