Skip to content

Commit 94f0a7c

Browse files
fix:[lar-169] mail bug for ThreadConverted (#303)
2 parents 36f1939 + 5037ff7 commit 94f0a7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Notifications/ThreadConvertedByCreator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ final class ThreadConvertedByCreator extends Notification
1313
{
1414
use Queueable;
1515

16-
public function __construct(public Thread $thread) {}
16+
public function __construct(protected Thread $thread) {}
1717

1818
/**
1919
* Get the notification's delivery channels.
@@ -31,7 +31,7 @@ public function via(object $notifiable): array
3131
public function toMail(object $notifiable): MailMessage
3232
{
3333
return (new MailMessage)
34-
->subject(__('pages/discussion.converted_by_creator'))
34+
->subject(__('pages/discussion.converted_by_creator.subject'))
3535
->line(__('pages/discussion.converted_by_creator.converted_line'))
3636
->line(__('pages/discussion.converted_by_creator.thread_title').$this->thread->title)
3737
->action(__('pages/discussion.converted_by_creator.action_text'), route('forum.show', $this->thread))

0 commit comments

Comments
 (0)