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'); } }