From 3788d4390624a850a3bf7fe97c3a0f501171e813 Mon Sep 17 00:00:00 2001 From: Luke Policinski Date: Mon, 12 Nov 2018 14:04:45 -0500 Subject: [PATCH] Let notification to the users be queue-able --- app/Notifications/Schedule/NewScheduleNotification.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Notifications/Schedule/NewScheduleNotification.php b/app/Notifications/Schedule/NewScheduleNotification.php index dd93398a..2ba73596 100644 --- a/app/Notifications/Schedule/NewScheduleNotification.php +++ b/app/Notifications/Schedule/NewScheduleNotification.php @@ -13,6 +13,7 @@ namespace CachetHQ\Cachet\Notifications\Schedule; use CachetHQ\Cachet\Models\Schedule; use Illuminate\Bus\Queueable; +use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Messages\NexmoMessage; use Illuminate\Notifications\Messages\SlackMessage; @@ -24,7 +25,7 @@ use McCool\LaravelAutoPresenter\Facades\AutoPresenter; * * @author James Brooks */ -class NewScheduleNotification extends Notification +class NewScheduleNotification extends Notification implements ShouldQueue { use Queueable;