From d52ca283d8e18f101d8f6f820fa4714841c59938 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Mon, 23 Jan 2017 20:53:50 +0000 Subject: [PATCH] Fix notification subject --- .../Component/ComponentStatusChangedNotification.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Notifications/Component/ComponentStatusChangedNotification.php b/app/Notifications/Component/ComponentStatusChangedNotification.php index 17ed21ef8..dfe5ad8d1 100644 --- a/app/Notifications/Component/ComponentStatusChangedNotification.php +++ b/app/Notifications/Component/ComponentStatusChangedNotification.php @@ -85,7 +85,7 @@ class ComponentStatusChangedNotification extends Notification return (new MailMessage()) ->subject(trans('notifications.component.status_update.mail.subject')) - ->greeting(trans('notifications.component.status_update.mail.title')) + ->greeting(trans('notifications.component.status_update.mail.subject')) ->line($content) ->action(trans('notifications.component.status_update.mail.action'), cachet_route('status-page')) ->line(trans('cachet.subscriber.unsubscribe', ['link' => cachet_route('subscribe.unsubscribe', $notifiable->verify_code)])); @@ -136,7 +136,7 @@ class ComponentStatusChangedNotification extends Notification return (new SlackMessage()) ->$status() - ->content(trans('notifications.component.status_update.slack.title')) + ->content(trans('notifications.component.status_update.slack.subject')) ->attachment(function ($attachment) use ($content, $notifiable) { $attachment->title($content, cachet_route('status-page')) ->fields(array_filter([