Updated dependencies
This commit is contained in:
parent
a04894eab0
commit
f3a9e2fa00
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue