Skip to content

Commit

Permalink
fix: change mobile_number_with_prefix to mobile_number_with_country_code
Browse files Browse the repository at this point in the history
  • Loading branch information
PrawiraGenestonlia committed Oct 9, 2023
1 parent 0769681 commit 311b00c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/express/sgid.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ const sgIDScopeToMyInfoField = (persona, scope) => {
return defaultUndefinedToNA(persona.passexpirydate?.value)
case 'myinfo.marital_status':
return defaultUndefinedToNA(persona.marital?.desc)
case 'myinfo.mobile_number_with_prefix':
case 'myinfo.mobile_number_with_country_code':
return formatMobileNumberWithPrefix(persona.mobileno)
default:
return 'NA'
Expand Down

0 comments on commit 311b00c

Please sign in to comment.