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';
|
$mime = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document';
|
||||||
}
|
}
|
||||||
|
|
||||||
return Attachment::fromStorage(
|
return Attachment::fromPath(
|
||||||
(string) $attachment_path
|
$attachment_path
|
||||||
)
|
)
|
||||||
->as($attachment->path)
|
->as($attachment->path)
|
||||||
->withMime($mime);
|
->withMime($mime);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue