From 3a1817d2ef74d09771c2cf8079316ae944acfc87 Mon Sep 17 00:00:00 2001 From: panabonic Date: Sat, 30 Dec 2023 13:14:43 +0300 Subject: [PATCH] feedback form minor fix --- app/Mail/FeedbackSender.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/Mail/FeedbackSender.php b/app/Mail/FeedbackSender.php index b349377..afe83ee 100644 --- a/app/Mail/FeedbackSender.php +++ b/app/Mail/FeedbackSender.php @@ -2,7 +2,6 @@ namespace App\Mail; -use App\Models\Dictionaries\DictionaryItem; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\Mailable; @@ -18,8 +17,6 @@ class FeedbackSender extends Mailable implements ShouldQueue { } public function build() { - $dictionary = DictionaryItem::byUuid($this->data['feedback-type'])->first(); - $this->data['feedback-type'] = $dictionary->title; - return $this->subject('Поступило обращение с сайта')->view('mail.feedback.support'); + return $this->subject('Поступило новое обращение')->view('mail.feedback.support'); } }