Don't pass through the whole incident name, just the components

This commit is contained in:
James Brooks
2015-08-14 08:47:28 +01:00
parent 808bc5201d
commit 0bff2f9215
3 changed files with 4 additions and 4 deletions
@@ -69,7 +69,7 @@ class SendIncidentEmailNotificationHandler
$mail = [
'email' => $subscriber->email,
'subject' => 'New incident reported.',
'incident' => $event->incident,
'component_name' => $event->incident->component->name,
'status' => $data->humanStatus,
'htmlContent' => $data->formattedMessage,
'textContent' => $data->message,