fix(email-notifications): change notify method to notifyNow for immediate test email delivery
This commit is contained in:
@@ -325,7 +325,7 @@ class Email extends Component
|
|||||||
'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 @@ class SettingsEmail extends Component
|
|||||||
'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,
|
||||||
|
Reference in New Issue
Block a user