Merge branch 'dillon/34.1-jenkins-vapor' into vapor/development

This commit is contained in:
Dillon Ngo
2024-04-26 17:29:14 +08:00
@@ -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',