Skip to content

Commit 7de1ab6

Browse files
authored
Update CachesValue.php
1 parent 308a4ab commit 7de1ab6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CachesValue.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ final public function handle($event = null): mixed
7171
return null;
7272
}
7373

74-
$this->isUpdating = false;
74+
Cache::driver($driver)->forever($cacheKey, $value);
7575

7676
PermanentCacheUpdated::dispatch($this);
7777

78-
Cache::driver($driver)->forever($cacheKey, $value);
78+
$this->isUpdating = false;
7979

8080
return $value;
8181
}

0 commit comments

Comments
 (0)