Updated dependencies
This commit is contained in:
parent
a04894eab0
commit
f3a9e2fa00
|
|
@ -28,7 +28,7 @@ class EntityEmailedNotification implements ShouldQueue
|
||||||
{
|
{
|
||||||
use UserNotifies;
|
use UserNotifies;
|
||||||
|
|
||||||
public $delay = 10;
|
public $delay = 1;
|
||||||
|
|
||||||
private $entity_string;
|
private $entity_string;
|
||||||
|
|
||||||
|
|
@ -78,8 +78,6 @@ class EntityEmailedNotification implements ShouldQueue
|
||||||
if (($key = array_search('mail', $methods)) !== false) {
|
if (($key = array_search('mail', $methods)) !== false) {
|
||||||
unset($methods[$key]);
|
unset($methods[$key]);
|
||||||
|
|
||||||
nlog((new EntitySentObject($event->invitation, $this->entity_string, $event->template, $company_user->portalType())));
|
|
||||||
|
|
||||||
$nmo = new NinjaMailerObject();
|
$nmo = new NinjaMailerObject();
|
||||||
$nmo->mailable = new NinjaMailer((new EntitySentObject($event->invitation, $this->entity_string, $event->template, $company_user->portalType()))->build());
|
$nmo->mailable = new NinjaMailer((new EntitySentObject($event->invitation, $this->entity_string, $event->template, $company_user->portalType()))->build());
|
||||||
$nmo->company = $event->invitation->company;
|
$nmo->company = $event->invitation->company;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue