From 10c436cd7dfced984351ccb5fe43a207995fc1a4 Mon Sep 17 00:00:00 2001 From: Dev Date: Mon, 23 Sep 2024 10:22:26 +0100 Subject: [PATCH] made use of `resetInterval` inside of `resetMoneyTransferLimit()` calculation --- project/src/routers/EventOutputHolder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/routers/EventOutputHolder.ts b/project/src/routers/EventOutputHolder.ts index b366a62b..34cc2794 100644 --- a/project/src/routers/EventOutputHolder.ts +++ b/project/src/routers/EventOutputHolder.ts @@ -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; } }