Skip to content

Commit

Permalink
10-7959f-1 Update Metadata (#33687)
Browse files Browse the repository at this point in the history
* updated to pass ssn AND va file number when both are available

* removed mockdata accidentally included

---------

Co-authored-by: Rachel <[email protected]>
  • Loading branch information
reiting and Rachel authored Dec 20, 2024
1 parent d54124b commit 27a9f7d
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,8 @@ export default function transformForSubmit(formConfig, form) {
state: 'NA',
postalCode: 'NA',
},
ssn: transformedData?.veteranSocialSecurityNumber?.ssn
? transformedData?.veteranSocialSecurityNumber?.ssn
: '',
vaClaimNumber: transformedData?.veteranSocialSecurityNumber?.ssn
? ''
: transformedData?.veteranSocialSecurityNumber?.vaFileNumber,
ssn: transformedData?.veteranSocialSecurityNumber?.ssn,
vaClaimNumber: transformedData?.veteranSocialSecurityNumber?.vaFileNumber,
phone_number: transformedData.veteranPhoneNumber || '',
email_address: transformedData.veteranEmailAddress || '',
},
Expand Down

0 comments on commit 27a9f7d

Please sign in to comment.