mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-09-01 19:04:00 +00:00
Laravel Vapor - debug reading from S3 storage
This commit is contained in:
+2
-2
@@ -67,8 +67,8 @@ class BulkDownloadCustomerInvoicesLogic
|
||||
->files()
|
||||
->first();
|
||||
|
||||
$fileContent = Storage::disk('documents')
|
||||
->get($invoiceFile->file->file_info->original->file);
|
||||
$fileContent = Storage::disk('s3')
|
||||
->get('documents/'.$invoiceFile->file->file_info->original->file);
|
||||
|
||||
$zipDataStr .= 'invoice-' . $booking->created_at->format('d_m_Y') . '_' . $booking->marking . '.pdf';
|
||||
$zipDataStr .= "\n"; // Add a separator
|
||||
|
||||
Reference in New Issue
Block a user