diff --git a/src/components/user-info/user-info-controller.ts b/src/components/user-info/user-info-controller.ts index f9579aa..8a9ee96 100644 --- a/src/components/user-info/user-info-controller.ts +++ b/src/components/user-info/user-info-controller.ts @@ -52,7 +52,7 @@ export const userInfoController = async ( } if (validationResult.scopes.includes("phone")) { - userInfo.phone_number = config.getPhoneNumber() ?? undefined; + userInfo.phone_number = config.getPhoneNumber() || undefined; userInfo.phone_number_verified = config.getPhoneNumberVerified(); }