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:
2021-05-29 19:56:41 -03:00
parent 5c143450e7
commit c8127d47ba

View File

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