Fix missing token from unsub link

This commit is contained in:
James Brooks 2015-06-10 14:56:06 +01:00
parent de9745c7cf
commit 9877023bb4
2 changed files with 2 additions and 2 deletions

View File

@ -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([

View File

@ -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([