only show Found x insurance packages in profile
in console, not log file
This commit is contained in:
parent
2bb85c8391
commit
47882e59d6
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user