From f9a7c582b7da6409f431a66887a9866a316c9b71 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 9 Mar 2024 16:42:27 +1100 Subject: [PATCH] Updates for cache::pull --- app/Http/Controllers/ProtectedDownloadController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ProtectedDownloadController.php b/app/Http/Controllers/ProtectedDownloadController.php index 330552c6fa78..577216124420 100644 --- a/app/Http/Controllers/ProtectedDownloadController.php +++ b/app/Http/Controllers/ProtectedDownloadController.php @@ -21,7 +21,7 @@ class ProtectedDownloadController extends BaseController public function index(Request $request, string $hash) { /** @var string $hashed_path */ - $hashed_path = Cache::pull($hash); + $hashed_path = Cache::get($hash); if (!$hashed_path) { throw new SystemError('File no longer available', 404);