fix: item available notification is working

As the other email notification, the Laravel upgrade were not correctly
implemented leading to an unchanged getFromJson to get for the language.
This commit is contained in:
Bruno F. Fontes 2021-05-29 19:56:41 -03:00
parent 5c143450e7
commit c8127d47ba
Signed by: brunofontes
GPG Key ID: EE3447CE80048495

View File

@ -32,7 +32,7 @@ class ItemAvailable extends Mailable
public function build() public function build()
{ {
return $this->subject( return $this->subject(
\Lang::getFromJson( \Lang::get(
':itemname is available!', ':itemname is available!',
['itemname' => $this->item->name] ['itemname' => $this->item->name]
) )