From 5646228546e00b40ddffcee4e483484b3936e5f2 Mon Sep 17 00:00:00 2001 From: Loann Meignant Date: Mon, 8 Jun 2020 12:48:24 +0200 Subject: [PATCH] test --- src/BluescaleMailApi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BluescaleMailApi.php b/src/BluescaleMailApi.php index 9be90ed..f6a5679 100644 --- a/src/BluescaleMailApi.php +++ b/src/BluescaleMailApi.php @@ -55,8 +55,8 @@ class BluescaleMailApi if (count($attachments) > 0) { $formatted_attachmments = []; foreach ($attachments as $attachment) { - $file = new UploadedFile($attachment['path'], $attachment['filename'], 'application/octet-stream', null, null, false); - $formatted_attachmments[] = $file; +// $file = new UploadedFile($attachment['path'], $attachment['filename'], 'application/octet-stream', null, null, false); + $formatted_attachmments[] = $attachment; } $template->attachments = $formatted_attachmments;