From d77383643b20fd3a31d69ede4376c810e6dec29c Mon Sep 17 00:00:00 2001 From: Rogger Valverde Date: Thu, 25 Apr 2024 11:26:55 -0500 Subject: [PATCH] chore: remove extra spaces --- lib/RateLimiterRedis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/RateLimiterRedis.js b/lib/RateLimiterRedis.js index dc8c60c..d6f5b84 100644 --- a/lib/RateLimiterRedis.js +++ b/lib/RateLimiterRedis.js @@ -124,7 +124,7 @@ class RateLimiterRedis extends RateLimiterStoreAbstract { this.client.eval(this._incrTtlLuaScript, 1, rlKey, points, secDuration, this.points, this.duration, incrCallback); } }); - } else { + } else { return this.client.eval(this._incrTtlLuaScript, { keys: [rlKey], arguments: [String(points), String(secDuration), String(this.points), String(this.duration)],