add email example dan mempertahankan addHeaderKey
This commit is contained in:
@@ -612,7 +612,7 @@ class ProviderOnlineController extends Controller
|
||||
|
||||
private function sendProviderOnlineEmail(string $eventName, RequestLog $requestLog, Organization $organization): void
|
||||
{
|
||||
$email = trim((string) ($organization->email ?? env('PROVIDER_ONLINE_NOTIFICATION_EMAIL', 'alarm.center@linksehat.com')));
|
||||
$email = trim((string) ($organization->email ?: env('PROVIDER_ONLINE_NOTIFICATION_EMAIL', 'helpdesk@linksehat.com')));
|
||||
if (!$email || !filter_var($email, FILTER_VALIDATE_EMAIL)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user