mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-29 09:24:07 +00:00
Merge branch 'dillon/34.1-jenkins-vapor' into vapor/development
This commit is contained in:
+2
-2
@@ -78,8 +78,8 @@ class BulkDownloadCustomerInvoicesLogic
|
||||
$filePath = 'bulk_invoice/'.$zipFileName;
|
||||
Storage::put($filePath, file_get_contents($zip_file), 's3');
|
||||
|
||||
return response()->download(Storage::disk('s3')->path($filePath));
|
||||
|
||||
$responseContent = Storage::disk('s3')->get($filePath);
|
||||
return response($responseContent)->header('Content-Type', 'application/zip');
|
||||
} else {
|
||||
return response()->json([
|
||||
'status' => 'Error',
|
||||
|
||||
Reference in New Issue
Block a user