chore: Update web.php to cast server port as integer
This commit is contained in:
parent
8e6c7eaeda
commit
d75e55111a
1 changed files with 2 additions and 1 deletions
|
|
@ -269,11 +269,12 @@
|
|||
} else {
|
||||
$server = $execution->scheduledDatabaseBackup->database->destination->server;
|
||||
}
|
||||
|
||||
$privateKeyLocation = $server->privateKey->getKeyLocation();
|
||||
$disk = Storage::build([
|
||||
'driver' => 'sftp',
|
||||
'host' => $server->ip,
|
||||
'port' => $server->port,
|
||||
'port' => (int) $server->port,
|
||||
'username' => $server->user,
|
||||
'privateKey' => $privateKeyLocation,
|
||||
'root' => '/',
|
||||
|
|
|
|||
Loading…
Reference in a new issue