From c8127d47ba632e32e0df1a48505d5382fe14e6e5 Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Sat, 29 May 2021 19:56:41 -0300 Subject: [PATCH] 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. --- app/Mail/ItemAvailable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Mail/ItemAvailable.php b/app/Mail/ItemAvailable.php index 160a752..5d7f631 100644 --- a/app/Mail/ItemAvailable.php +++ b/app/Mail/ItemAvailable.php @@ -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] )