returning mail message error fixed

This commit is contained in:
ilmedova 2022-12-07 15:13:52 +05:00
parent fe49e48a31
commit cb800a802f
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ public function toMail($notifiable)
$user['name'] = $this->name;
$user['token'] = $this->token;
return $this->subject('Resetting your password')
return (new MailMessage)->subject('Resetting your password')
->view('emails.reset-password', ['user' => $user]);
}