made use of resetInterval inside of resetMoneyTransferLimit() calculation

This commit is contained in:
Dev 2024-09-23 10:22:26 +01:00
parent dd9d018c82
commit 10c436cd7d

View File

@ -93,7 +93,7 @@ export class EventOutputHolder {
protected resetMoneyTransferLimit(limit: IMoneyTransferLimits) {
if (limit.nextResetTime < this.timeUtil.getTimestamp()) {
limit.nextResetTime = this.timeUtil.getTimeStampFromNowDays(1);
limit.nextResetTime += limit.resetInterval;
limit.remainingLimit = limit.totalLimit;
}
}