Skip to content

Commit

Permalink
update generic email attachment method
Browse files Browse the repository at this point in the history
  • Loading branch information
cannycookie committed Mar 1, 2024
1 parent 1b6d1f0 commit f586c93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Traits/BuildGenericEmail.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ public function build()

if($this->attachment ?? false) {
$this->attach(
$this->attachment->filepath,
$this->attachment->getPath(),
[
'as' => $this->attachment->filename,
'mime' => $this->attachment->filetype,
'mime' => $this->attachment->mime_type,
]
);
}
Expand Down

0 comments on commit f586c93

Please sign in to comment.