only show Found x insurance packages in profile in console, not log file

This commit is contained in:
Dev 2024-02-26 18:24:45 +00:00
parent 2bb85c8391
commit 47882e59d6

View File

@ -102,7 +102,7 @@ export class InsuranceController
const insuranceTime = time || this.timeUtil.getTimestamp(); const insuranceTime = time || this.timeUtil.getTimestamp();
const profileInsuranceDetails = this.saveServer.getProfile(sessionID).insurance; const profileInsuranceDetails = this.saveServer.getProfile(sessionID).insurance;
this.logger.debug(`Found ${profileInsuranceDetails.length} insurance packages in profile ${sessionID}`); this.logger.debug(`Found ${profileInsuranceDetails.length} insurance packages in profile ${sessionID}`, true);
return profileInsuranceDetails.filter((insured) => insuranceTime >= insured.scheduledTime); return profileInsuranceDetails.filter((insured) => insuranceTime >= insured.scheduledTime);
} }