Skip to content

Commit

Permalink
added sunbucks to api formdata
Browse files Browse the repository at this point in the history
  • Loading branch information
msrezaie committed Dec 4, 2024
1 parent 998018e commit 3853b48
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Assets/updateScreen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const getScreensBody = (formData: FormData, languageCode: Language) => {
has_nfp: formData.benefits.nfp,
has_rtdlive: formData.benefits.rtdlive,
has_snap: formData.benefits.snap,
has_sunbucks: formData.benefits.sunbucks,
has_ssdi: formData.benefits.ssdi,
has_ssi: formData.benefits.ssi,
has_cowap: formData.benefits.cowap,
Expand Down
1 change: 1 addition & 0 deletions src/Components/FetchScreen/FetchScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const FetchScreen = () => {
pell: response.has_pell_grant ?? false,
rtdlive: response.has_rtdlive ?? false,
snap: response.has_snap ?? false,
sunbucks: response.has_sunbucks ?? false,
ssdi: response.has_ssdi ?? false,
ssi: response.has_ssi ?? false,
tanf: response.has_tanf ?? false,
Expand Down
1 change: 1 addition & 0 deletions src/Types/ApiFormData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export type ApiFormData = {
has_tanf: boolean | null;
has_wic: boolean | null;
has_snap: boolean | null;
has_sunbucks: boolean | null;
has_lifeline: boolean | null;
has_acp: boolean | null;
has_eitc: boolean | null;
Expand Down
1 change: 1 addition & 0 deletions src/Types/FormData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export type Benefits = {
pell: boolean;
rtdlive: boolean;
snap: boolean;
sunbucks: boolean;
ssdi: boolean;
ssi: boolean;
tanf: boolean;
Expand Down

0 comments on commit 3853b48

Please sign in to comment.