Rename variable

This commit is contained in:
David Bomba 2023-01-15 21:20:16 +11:00
parent d1049f3a90
commit 3da4c42f71

View File

@ -56,7 +56,7 @@ class EmailMailable extends Mailable
public function content() public function content()
{ {
return new Content( return new Content(
view: $this->email_object->template, view: $this->email_object->html_template,
text: $this->email_object->text_template, text: $this->email_object->text_template,
with: [ with: [
'text_body' => strip_tags($this->email_object->body), //@todo this is a bit hacky here. 'text_body' => strip_tags($this->email_object->body), //@todo this is a bit hacky here.