mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Laravel Vapor - Debug approve purchase order issue
This commit is contained in:
@@ -84,7 +84,7 @@ class CreateInvoiceDocumentProcessor
|
||||
|
||||
if($filesystemDriver === 's3'){
|
||||
$finalTempPdfPath = storage_path('app/documents/temp.pdf');
|
||||
$filePathForS3 = 'documents/temp/temp.pdf';
|
||||
$filePathForS3 = 'temp/temp.pdf';
|
||||
$fileContent = file_get_contents($finalTempPdfPath);
|
||||
Log::info('CreateInvoiceDocumentProcessor 2 filePathForS3: ' . $filePathForS3);
|
||||
Storage::disk('s3')->put($filePathForS3, $fileContent);
|
||||
|
||||
Reference in New Issue
Block a user