From f3a9e2fa00b49b55e7d28be1b4f45bdf607c3ed7 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 15 Jan 2025 20:09:29 +1100 Subject: [PATCH] Updated dependencies --- app/Listeners/General/EntityEmailedNotification.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/Listeners/General/EntityEmailedNotification.php b/app/Listeners/General/EntityEmailedNotification.php index a5254aa5b7..d05adbc09b 100644 --- a/app/Listeners/General/EntityEmailedNotification.php +++ b/app/Listeners/General/EntityEmailedNotification.php @@ -28,7 +28,7 @@ class EntityEmailedNotification implements ShouldQueue { use UserNotifies; - public $delay = 10; + public $delay = 1; private $entity_string; @@ -78,8 +78,6 @@ class EntityEmailedNotification implements ShouldQueue if (($key = array_search('mail', $methods)) !== false) { unset($methods[$key]); - nlog((new EntitySentObject($event->invitation, $this->entity_string, $event->template, $company_user->portalType()))); - $nmo = new NinjaMailerObject(); $nmo->mailable = new NinjaMailer((new EntitySentObject($event->invitation, $this->entity_string, $event->template, $company_user->portalType()))->build()); $nmo->company = $event->invitation->company;