From 5d78b405d6499932b79e773f6cdc3a1fc7c6b734 Mon Sep 17 00:00:00 2001 From: Mark van Eijk Date: Wed, 15 May 2024 20:55:16 +0200 Subject: [PATCH] use cache store config --- src/CachesValue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CachesValue.php b/src/CachesValue.php index 39f8b53..7e748ee 100644 --- a/src/CachesValue.php +++ b/src/CachesValue.php @@ -275,7 +275,7 @@ public static function getCacheKey(?array $parameters = [], ?string $store = nul $cacheKey = $store; } - $cacheStore ??= config('permanent-cache.driver') ?: config('cache.default'); + $cacheStore ??= config('permanent-cache.store') ?: config('cache.default'); $cacheKey ??= preg_replace('/[^A-Za-z0-9]+/', '_', strtolower(Str::snake($class))); if ($parameters) {