Modifications
This commit is contained in:
parent
033ee64724
commit
98790bb09a
|
@ -55,7 +55,7 @@ class BluescaleMailApi
|
||||||
if (count($attachments) > 0) {
|
if (count($attachments) > 0) {
|
||||||
$formatted_attachmments = [];
|
$formatted_attachmments = [];
|
||||||
foreach ($attachments as $attachment) {
|
foreach ($attachments as $attachment) {
|
||||||
$file = new UploadedFile($attachment->path, $attachment->fileName, 'application/octet-stream', null, null, false);
|
$file = new UploadedFile($attachment['path'], $attachment['filename'], 'application/octet-stream', null, null, false);
|
||||||
$formatted_attachmments[] = $file;
|
$formatted_attachmments[] = $file;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue