fix: passenger id

This commit is contained in:
Abubeker Yasin
2026-07-03 12:21:41 +03:00
parent 868639084c
commit 91e59abf0e
2 changed files with 18 additions and 3 deletions

View File

@@ -180,6 +180,9 @@ export class PassengerAuthService {
return {
iamUserId,
// Top-level passengerId keeps the profile shape consistent with the login
// response so the web User object always carries it (the JWT does not).
passengerId: passenger.id,
email: iam?.email ?? null,
phone: iam?.phone_number ?? null,
fullName: iam?.name?.en ?? iam?.name?.am ?? null,