mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 06:32:40 +01:00
commit
5b78717de4
@ -108,7 +108,7 @@ class GenerateDeliveryNote
|
||||
|
||||
/* Copy from remote disk to local when using cloud file storage. */
|
||||
if(config('filesystems.default') == 's3')
|
||||
return TempFile::path(Storage::disk($disk)->url($file_path));
|
||||
return TempFile::path(Storage::disk($this->disk)->url($file_path));
|
||||
|
||||
return $file_path;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user