changed attachment to fromPath
This commit is contained in:
parent
b424d865c4
commit
11f2053e77
|
|
@ -79,8 +79,8 @@ public function attachments(): array
|
|||
$mime = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document';
|
||||
}
|
||||
|
||||
return Attachment::fromStorage(
|
||||
(string) $attachment_path
|
||||
return Attachment::fromPath(
|
||||
$attachment_path
|
||||
)
|
||||
->as($attachment->path)
|
||||
->withMime($mime);
|
||||
|
|
|
|||
Loading…
Reference in a new issue