Fix missing token from unsub link
This commit is contained in:
@@ -75,7 +75,7 @@ class SendIncidentEmailNotificationHandler
|
||||
'htmlContent' => $data->formattedMessage,
|
||||
'textContent' => $data->message,
|
||||
'token' => $subscriber->token,
|
||||
'unsubscribeLink' => route('unsubscribe', $subscriber->token),
|
||||
'unsubscribeLink' => route('unsubscribe', ['code' => $subscriber->token]),
|
||||
];
|
||||
|
||||
$this->mailer->queue([
|
||||
|
||||
@@ -75,7 +75,7 @@ class SendMaintenanceEmailNotificationHandler
|
||||
'htmlContent' => $data->formattedMessage,
|
||||
'textContent' => $data->message,
|
||||
'token' => $subscriber->token,
|
||||
'unsubscribeLink' => route('unsubscribe', $subscriber->token),
|
||||
'unsubscribeLink' => route('unsubscribe', ['code' => $subscriber->token]),
|
||||
];
|
||||
|
||||
$this->mailer->queue([
|
||||
|
||||
Reference in New Issue
Block a user