mirror of
https://github.com/crater-invoice/crater.git
synced 2025-12-15 09:52:55 -05:00
v5.0.0 update
This commit is contained in:
@@ -30,10 +30,7 @@ class InvoiceViewedMail extends Mailable
|
||||
*/
|
||||
public function build()
|
||||
{
|
||||
$email = $this->data['user']['email'];
|
||||
$name = $this->data['user']['name'];
|
||||
|
||||
return $this->from($email, $name)
|
||||
return $this->from(config('mail.from.address'), config('mail.from.name'))
|
||||
->markdown('emails.viewed.invoice', ['data', $this->data]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user