Skip to content

Commit 39a0096

Browse files
Sideload email-addresses in syncCurrentUser
The other_emails field reads currentUser.emailAddresses, an async:false relationship that stays empty unless sideloaded. Include it in the auth sync alongside course-participations so the Lobbyside column populates. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 589c858 commit 39a0096

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/services/authenticator.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ export default class AuthenticatorService extends Service {
118118
'affiliate-links.user',
119119
// Powers the `stages_completed` field the Lobbyside widget pushes via setVisitor.
120120
'course-participations',
121+
// Powers the `other_emails` field the Lobbyside widget pushes via setVisitor.
122+
'email-addresses',
121123
'feature-suggestions',
122124
'promotional-discounts',
123125
'promotional-discounts.affiliate-referral',

0 commit comments

Comments
 (0)