diff --git a/src/SmsChannel.php b/src/SmsChannel.php index f8cf1d3..8359030 100644 --- a/src/SmsChannel.php +++ b/src/SmsChannel.php @@ -36,7 +36,7 @@ private function initDriver(string $driver = null): void throw new InvalidArgumentException('No SMS vendor driver configured.'); } - $driverClass = config("sms.vendors.{$active}.driver"); + $driverClass = config("sms.providers.{$active}.driver"); if ($driverClass == null || !class_exists($driverClass)) { throw new DriverNotFoundException("No driver configuration found by `{$active}` name."); @@ -46,7 +46,7 @@ private function initDriver(string $driver = null): void $mode = config('sms.mode', 'sandbox'); - $config = config("sms.vendors.{$active}.{$mode}", []); + $config = config("sms.providers.{$active}.{$mode}", []); $this->driver = App::make($driverClass);