Check for edge cases
This commit is contained in:
parent
8b9d36edc2
commit
e354d27091
|
|
@ -26,7 +26,7 @@ class UpdateAutoBilling extends Component
|
||||||
|
|
||||||
public function mount()
|
public function mount()
|
||||||
{
|
{
|
||||||
MultiDB::setDb($this->db);
|
MultiDB::setDb($this->db ?? config('database.default'));
|
||||||
}
|
}
|
||||||
|
|
||||||
#[Computed]
|
#[Computed]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue