Update ComponentStatusChangedNotification.php

This commit is contained in:
Antonio
2019-01-18 02:01:43 +02:00
committed by GitHub
parent 73eea810b0
commit 21daa6d2d2

View File

@@ -140,7 +140,7 @@ class ComponentStatusChangedNotification extends Notification
return (new SlackMessage()) return (new SlackMessage())
->$status() ->$status()
->content(trans('notifications.component.status_update.slack.subject')) ->content(trans('notifications.component.status_update.slack.title'))
->attachment(function ($attachment) use ($content, $notifiable) { ->attachment(function ($attachment) use ($content, $notifiable) {
$attachment->title($content, cachet_route('status-page')) $attachment->title($content, cachet_route('status-page'))
->fields(array_filter([ ->fields(array_filter([