From 1d58a87a24377bf279740a678e7f67c59eb63018 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 2 Aug 2021 07:41:46 +1000 Subject: [PATCH] dispatchNow inside email entity --- app/Jobs/Entity/EmailEntity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/Entity/EmailEntity.php b/app/Jobs/Entity/EmailEntity.php index 32829c030ad9..f8e4ae5affd4 100644 --- a/app/Jobs/Entity/EmailEntity.php +++ b/app/Jobs/Entity/EmailEntity.php @@ -119,7 +119,7 @@ class EmailEntity implements ShouldQueue $nmo->reminder_template = $this->reminder_template; $nmo->entity = $this->entity; - NinjaMailerJob::dispatch($nmo); + NinjaMailerJob::dispatchNow($nmo); /* Mark entity sent */ $this->entity->service()->markSent()->save();