test
This commit is contained in:
parent
5646228546
commit
4bad426149
|
@ -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[] = $attachment;
|
||||
$file = new UploadedFile($attachment['path'], $attachment['filename'], 'application/octet-stream', null, null, false);
|
||||
$formatted_attachmments[] = $file;
|
||||
}
|
||||
|
||||
$template->attachments = $formatted_attachmments;
|
||||
|
|
Loading…
Reference in New Issue