Skip to content

Commit

Permalink
fix: remove the plus sign in front of the phone number (#5801)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamto7 committed Apr 29, 2024
1 parent 24acae8 commit 2247234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/connectors/connector-feishu-web/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2247234

Please sign in to comment.