From 27a9f7d829941ec51b613b075fb0f29b5bee8c26 Mon Sep 17 00:00:00 2001 From: Rachel Eiting Date: Fri, 20 Dec 2024 11:27:18 -0500 Subject: [PATCH] 10-7959f-1 Update Metadata (#33687) * updated to pass ssn AND va file number when both are available * removed mockdata accidentally included --------- Co-authored-by: Rachel --- .../ivc-champva/10-7959f-1/config/submitTransformer.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/applications/ivc-champva/10-7959f-1/config/submitTransformer.js b/src/applications/ivc-champva/10-7959f-1/config/submitTransformer.js index 0d4d011e4743..d2ff32cc6be5 100644 --- a/src/applications/ivc-champva/10-7959f-1/config/submitTransformer.js +++ b/src/applications/ivc-champva/10-7959f-1/config/submitTransformer.js @@ -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 || '', },