oke
This commit is contained in:
parent
c01af00645
commit
8d71103518
|
|
@ -56,10 +56,10 @@ public function content(): Content
|
|||
public function attachments(): array
|
||||
{
|
||||
return $this->mailing->attachments()->get()->map(function (ProjectMailingAttachment $attachment) {
|
||||
$projectPath = $attachment->mailing->project->path;
|
||||
// $projectPath = $attachment->mailing->project->path;
|
||||
|
||||
return Attachment::fromStorage(
|
||||
path: $projectPath.$attachment->path
|
||||
path: "chemba/".$attachment->path
|
||||
)
|
||||
->as($attachment->name)
|
||||
->withMime('application/pdf');
|
||||
|
|
|
|||
Loading…
Reference in a new issue