fixed storage
path
This commit is contained in:
@ -13,6 +13,7 @@ use Egulias\EmailValidator\Validation\MultipleValidationWithAnd;
|
||||
use Egulias\EmailValidator\Validation\RFCValidation;
|
||||
use Illuminate\Support\Collection;
|
||||
use Illuminate\Support\Str;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
|
||||
trait Documents
|
||||
{
|
||||
@ -187,7 +188,7 @@ trait Documents
|
||||
|
||||
$file_name = $this->getDocumentFileName($document);
|
||||
|
||||
$pdf_path = storage_path('app/temp/' . $file_name);
|
||||
$pdf_path = Storage::path('app/temp/' . $file_name);
|
||||
|
||||
// Save the PDF file into temp folder
|
||||
$pdf->save($pdf_path);
|
||||
|
Reference in New Issue
Block a user