mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-22 22:13:59 +00:00
Laravel Vapor - debug reading from S3 storage
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ class BulkDownloadCustomerInvoicesLogic
|
||||
$filePath = 'bulk_invoice/'.$zipFileName;
|
||||
Storage::put($filePath, file_get_contents($zip_file), 's3');
|
||||
|
||||
return response(['src' => Storage::disk('s3')->get($filePath) ]);
|
||||
return response()->download(Storage::disk('s3')->path($filePath));
|
||||
|
||||
} else {
|
||||
return response()->json([
|
||||
|
||||
Reference in New Issue
Block a user