fix: missing privateKey
This commit is contained in:
parent
582416806f
commit
24a6f3d7ea
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ protected static function booted()
|
||||||
$server->forceFill($payload);
|
$server->forceFill($payload);
|
||||||
});
|
});
|
||||||
static::saved(function ($server) {
|
static::saved(function ($server) {
|
||||||
if ($server->privateKey->isDirty()) {
|
if ($server->privateKey?->isDirty()) {
|
||||||
refresh_server_connection($server->privateKey);
|
refresh_server_connection($server->privateKey);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue