mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Updates for cache::pull
This commit is contained in:
parent
66452a9f2a
commit
f9a7c582b7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user