Updated dependencies

This commit is contained in:
David Bomba 2025-01-15 20:09:29 +11:00
parent a04894eab0
commit f3a9e2fa00
1 changed files with 1 additions and 3 deletions

View File

@ -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;