driver name fix
This commit is contained in:
@@ -43,7 +43,7 @@ class Service extends Model
|
|||||||
?string $defaultPassword = null,
|
?string $defaultPassword = null,
|
||||||
): Driver
|
): Driver
|
||||||
{
|
{
|
||||||
$class = config("keystone.drivers.{$this->driver_name}.{$this->version}");
|
$class = config("keystone.drivers.{$this->driver_name}");
|
||||||
if (!class_exists($class)) {
|
if (!class_exists($class)) {
|
||||||
throw new \Exception("Driver class {$class} not found");
|
throw new \Exception("Driver class {$class} not found");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user