From 439f823f50cd4ae798ad61512173b7bd9f410c7b Mon Sep 17 00:00:00 2001 From: Lynh Date: Mon, 4 Mar 2024 10:06:07 +0700 Subject: [PATCH] add underscore between prefix and name --- src/Limit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Limit.php b/src/Limit.php index 0fc7134..5293353 100644 --- a/src/Limit.php +++ b/src/Limit.php @@ -67,7 +67,7 @@ public function key(): string { $prefix = 'fansipan_rate_limit'; - return $prefix.''.$this->name; + return $prefix.'_'.$this->name; } public function maxAttempts(bool $includeThreshold = true): int