We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7319ef1 commit d73e5a2Copy full SHA for d73e5a2
app/Http/Requests/Api/Application/Nodes/StoreNodeRequest.php
@@ -74,7 +74,7 @@ public function validated()
74
$response = parent::validated();
75
$response['daemonListen'] = $response['daemon_listen'];
76
$response['daemonSFTP'] = $response['daemon_sftp'];
77
- $response['daemonBase'] = $response['daemon_base'];
+ $response['daemonBase'] = $response['daemon_base'] ?? (new Node)->getAttribute('daemonBase');
78
79
unset($response['daemon_base'], $response['daemon_listen'], $response['daemon_sftp']);
80
0 commit comments