diff --git a/src/StaticCaching/NoCache/Session.php b/src/StaticCaching/NoCache/Session.php index ecda93eea3..0384d46c1d 100644 --- a/src/StaticCaching/NoCache/Session.php +++ b/src/StaticCaching/NoCache/Session.php @@ -49,7 +49,7 @@ public function regions(): Collection public function region(string $key): Region { - if ($this->regions->contains($key) && ($region = Cache::get('nocache::region.'.$key))) { + if ($this->regions->contains($key) && ($region = StaticCache::cacheStore()->get('nocache::region.'.$key))) { return $region; }