diff --git a/src/BMailApi.php b/src/BMailApi.php index 52f6bdc..0e4cb29 100644 --- a/src/BMailApi.php +++ b/src/BMailApi.php @@ -27,7 +27,7 @@ class BMailApi */ public function send($template, $notifiable): StreamInterface { - $url = config('bmail.api_url', 'https://bluescale.email/api/project/template/send'); + $url = config('bmail.api_url') ?? 'https://bluescale.email/api/project/template/send'; $client = new Client();