made use of resetInterval
inside of resetMoneyTransferLimit()
calculation
This commit is contained in:
parent
dd9d018c82
commit
10c436cd7d
@ -93,7 +93,7 @@ export class EventOutputHolder {
|
|||||||
|
|
||||||
protected resetMoneyTransferLimit(limit: IMoneyTransferLimits) {
|
protected resetMoneyTransferLimit(limit: IMoneyTransferLimits) {
|
||||||
if (limit.nextResetTime < this.timeUtil.getTimestamp()) {
|
if (limit.nextResetTime < this.timeUtil.getTimestamp()) {
|
||||||
limit.nextResetTime = this.timeUtil.getTimeStampFromNowDays(1);
|
limit.nextResetTime += limit.resetInterval;
|
||||||
limit.remainingLimit = limit.totalLimit;
|
limit.remainingLimit = limit.totalLimit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user