Fixed incorrectly logging insurance mesage

This commit is contained in:
Dev 2024-05-03 20:04:29 +01:00
parent 3125e768f7
commit 096c8471dc

View File

@ -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);