Skip to content

Commit

Permalink
Merge pull request #773 from Gary-Community-Ventures/bug/blank_assets
Browse files Browse the repository at this point in the history
Blank Assets
  • Loading branch information
ivonne-hernandez authored Dec 1, 2023
2 parents 13d0fab + f11a089 commit d770e09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Assets/updateScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const getScreensBody = (formData: FormData, languageCode: Language) => {
const expenses = getExpensesBodies(formData);

const finalReferralSource = formData.otherSource !== '' ? formData.otherSource : formData.referralSource;

const screenBody: ApiFormData = {
is_test: formData.isTest ?? false,
external_id: formData.externalID ?? null,
Expand All @@ -26,7 +27,7 @@ const getScreensBody = (formData: FormData, languageCode: Language) => {
household_size: formData.householdSize === '' ? null : Number(formData.householdSize),
household_members: householdMembers,
expenses: expenses,
household_assets: formData.householdAssets,
household_assets: formData.householdAssets || 0,
request_language_code: languageCode,
has_benefits: formData.hasBenefits ?? 'preferNotToAnswer',
has_acp: formData.benefits.acp,
Expand Down

0 comments on commit d770e09

Please sign in to comment.