Merged in feat/LOY-364-promo-activation-flow (pull request #2872)
Feat/LOY-364 promo activation flow * feat(LOY-364): add promo activation flow * chore(LOY-371): add tracking Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
@@ -93,8 +93,8 @@ export const getVerifiedUser = cache(
|
||||
)
|
||||
return null
|
||||
}
|
||||
|
||||
const verifiedData = getUserSchema.safeParse(apiJson)
|
||||
|
||||
if (!verifiedData.success) {
|
||||
metricsGetVerifiedUser.validationError(verifiedData.error)
|
||||
return null
|
||||
@@ -224,6 +224,7 @@ export function parsedUser(data: User, isMFA: boolean) {
|
||||
dateOfBirth: data.dateOfBirth,
|
||||
email: data.email,
|
||||
employmentDetails: data.employmentDetails,
|
||||
promotions: data.promotions || null,
|
||||
firstName: data.firstName,
|
||||
language: data.language,
|
||||
lastName: data.lastName,
|
||||
|
||||
Reference in New Issue
Block a user