Skip to content

Commit

Permalink
bs4 plan shopping with aptc, remove default (#4231)
Browse files Browse the repository at this point in the history
* remove default option for param

* remove default option for param
  • Loading branch information
kristinmerbach committed Sep 10, 2024
1 parent fe34f33 commit 6601589
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ def shopping_group_premium(plan_cost, plan_ehb_cost, subsidy_amount, can_use_apt
end
# rubocop:enable Style/OptionalBooleanParameter

def min_premium_with_aptc(plan_cost, plan_ehb_cost, subsidy_amount, can_use_aptc: true)
def min_premium_with_aptc(plan_cost, plan_ehb_cost, subsidy_amount, can_use_aptc)
can_use_aptc ||= false
premium = shopping_group_premium(plan_cost, plan_ehb_cost, subsidy_amount, can_use_aptc)
premium > 1 ? premium : 1
end
Expand Down

0 comments on commit 6601589

Please sign in to comment.