diff --git a/utils/api/benefitHandler.ts b/utils/api/benefitHandler.ts index 328df127d..aae4202c1 100644 --- a/utils/api/benefitHandler.ts +++ b/utils/api/benefitHandler.ts @@ -170,8 +170,6 @@ export class BenefitHandler { ), } - consoleDev('#1 oasDefer', this.rawInput.oasDeferDuration) - const partnerInput: ProcessedInput = { income: incomeHelper, age: this.rawInput.partnerAge, @@ -1452,8 +1450,6 @@ export class BenefitHandler { allResults.client.alws.cardDetail = clientAlws.cardDetail } - consoleDev('allResults', allResults) - // All done! return allResults } diff --git a/utils/api/futureHandler.ts b/utils/api/futureHandler.ts index 17c661760..d8e440f5b 100644 --- a/utils/api/futureHandler.ts +++ b/utils/api/futureHandler.ts @@ -88,7 +88,7 @@ export class FutureHandler { // No future benefits if 65 or over AND years in Canada already meets residency criteria if (age >= 65 && yearsInCanada >= residencyReq) return result - const eliObjOas = OasEligibility(Math.floor(age), yearsInCanada) + const eliObjOas = OasEligibility(age, yearsInCanada) const oasAge = eliObjOas.ageOfEligibility const eliObjAlws = AlwsEligibility(Math.floor(age), yearsInCanada)