mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix: remove the plus sign in front of the phone number (#5801)
This commit is contained in:
parent
24acae8709
commit
224723413a
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ export function getUserInfo(getConfig: GetConnectorConfig): GetUserInfo {
|
|||
avatar,
|
||||
email: conditional(email),
|
||||
userId: conditional(user_id),
|
||||
phone: conditional(mobile),
|
||||
phone: conditional(mobile?.replace('+', '')),
|
||||
rawData: jsonGuard.parse(response.body),
|
||||
};
|
||||
} catch (error: unknown) {
|
||||
|
|
Loading…
Reference in a new issue