This commit is contained in:
prateek srivastava 2022-03-02 11:12:50 +05:30
parent 2bf7f00393
commit 5d557e5b43
1 changed files with 4 additions and 0 deletions

View File

@ -244,8 +244,12 @@ trait Mails
*/
private function prepareMail($locale, $notification)
{
$previousLocale = core()->getCurrentLocale()->code;
app()->setLocale($locale);
Mail::queue($notification);
app()->setLocale($previousLocale);
}
}