Skip to content

Commit

Permalink
Merge pull request #234 from icefoganalytics/test
Browse files Browse the repository at this point in the history
🪲 syntax error on NARS FT
  • Loading branch information
datajohnson authored Jan 13, 2024
2 parents ae0f27d + d63e2f0 commit 280e3e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/services/admin/nars-v17-reporting-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ async function calculateFamilySize(
family.post_secondary = parentDeps.filter((f: any) => f.is_attend_post_secondary).length + 1;
family.family_size = 1 + parentDeps.length + (hasParent1 ? 1 : 0) + (hasParent2 ? 1 : 0);

family.under12_or_disabled = parentDeps.filter((f: any) => f(f.age < 11 || f.is_disabled)).length;
family.under12_or_disabled = parentDeps.filter((f: any) => f.age < 11 || f.is_disabled).length;
family.over11 = parentDeps.filter((f: any) => f.is_csl_eligible && f.age >= 12).length;
} else {
family.family_size = 1;
Expand Down

0 comments on commit 280e3e9

Please sign in to comment.