forked from Alex/Pterodactyl-Panel
Clean this code up, just use the updated model's FQDN; references #1931
This commit is contained in:
parent
33a7762152
commit
52966ede89
@ -86,9 +86,7 @@ class NodeUpdateService
|
||||
// node doesn't actually care about this.
|
||||
//
|
||||
// @see https://github.com/pterodactyl/panel/issues/1931
|
||||
if (! empty($data['fqdn'])) {
|
||||
$node->fqdn = $data['fqdn'];
|
||||
}
|
||||
$node->fqdn = $updated->fqdn;
|
||||
|
||||
$this->configurationRepository->setNode($node)->update($updated);
|
||||
} catch (DaemonConnectionException $exception) {
|
||||
|
Loading…
Reference in New Issue
Block a user