From 096c8471dc60b41466cfdf7e8254ebfa1acd41d4 Mon Sep 17 00:00:00 2001 From: Dev Date: Fri, 3 May 2024 20:04:29 +0100 Subject: [PATCH] Fixed incorrectly logging insurance mesage --- project/src/controllers/InsuranceController.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/project/src/controllers/InsuranceController.ts b/project/src/controllers/InsuranceController.ts index 8ed14e89..7bb44a3e 100644 --- a/project/src/controllers/InsuranceController.ts +++ b/project/src/controllers/InsuranceController.ts @@ -106,10 +106,7 @@ export class InsuranceController const profileInsuranceDetails = this.saveServer.getProfile(sessionID).insurance; if (profileInsuranceDetails.length > 0) { - this.logger.debug( - `Found ${profileInsuranceDetails.length} insurance packages in profile ${sessionID}`, - true, - ); + this.logger.debug(`Found ${profileInsuranceDetails.length} insurance packages in profile ${sessionID}`); } return profileInsuranceDetails.filter((insured) => insuranceTime >= insured.scheduledTime);