From 8d711035188bfb938d32951f4167fa5b3742dc31 Mon Sep 17 00:00:00 2001 From: Martin Folkerts Date: Thu, 1 Feb 2024 17:10:31 +0100 Subject: [PATCH] oke --- laravel_app/app/Mail/ReportMailer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laravel_app/app/Mail/ReportMailer.php b/laravel_app/app/Mail/ReportMailer.php index 2cb3288..d74efe6 100644 --- a/laravel_app/app/Mail/ReportMailer.php +++ b/laravel_app/app/Mail/ReportMailer.php @@ -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');