oke
This commit is contained in:
parent
8905c18df3
commit
c01af00645
|
|
@ -56,7 +56,7 @@ public function content(): Content
|
||||||
public function attachments(): array
|
public function attachments(): array
|
||||||
{
|
{
|
||||||
return $this->mailing->attachments()->get()->map(function (ProjectMailingAttachment $attachment) {
|
return $this->mailing->attachments()->get()->map(function (ProjectMailingAttachment $attachment) {
|
||||||
$projectPath = $attachment->mailing()->project()->first()->path;
|
$projectPath = $attachment->mailing->project->path;
|
||||||
|
|
||||||
return Attachment::fromStorage(
|
return Attachment::fromStorage(
|
||||||
path: $projectPath.$attachment->path
|
path: $projectPath.$attachment->path
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue