fix(email-notifications): change notify method to notifyNow for immediate test email delivery
This commit is contained in:
parent
15435c0c9d
commit
8f4b6f4403
2 changed files with 2 additions and 2 deletions
|
|
@ -325,7 +325,7 @@ public function sendTestEmail()
|
||||||
'test-email:'.$this->team->id,
|
'test-email:'.$this->team->id,
|
||||||
$perMinute = 0,
|
$perMinute = 0,
|
||||||
function () {
|
function () {
|
||||||
$this->team?->notify(new Test($this->testEmailAddress, 'email'));
|
$this->team?->notifyNow(new Test($this->testEmailAddress, 'email'));
|
||||||
$this->dispatch('success', 'Test Email sent.');
|
$this->dispatch('success', 'Test Email sent.');
|
||||||
},
|
},
|
||||||
$decaySeconds = 10,
|
$decaySeconds = 10,
|
||||||
|
|
|
||||||
|
|
@ -225,7 +225,7 @@ public function sendTestEmail()
|
||||||
'test-email:'.$this->team->id,
|
'test-email:'.$this->team->id,
|
||||||
$perMinute = 0,
|
$perMinute = 0,
|
||||||
function () {
|
function () {
|
||||||
$this->team?->notify(new Test($this->testEmailAddress));
|
$this->team?->notifyNow(new Test($this->testEmailAddress));
|
||||||
$this->dispatch('success', 'Test Email sent.');
|
$this->dispatch('success', 'Test Email sent.');
|
||||||
},
|
},
|
||||||
$decaySeconds = 10,
|
$decaySeconds = 10,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue