fix(ssl): server id

This commit is contained in:
peaklabs-dev
2025-02-07 18:45:12 +01:00
parent bd33f65c0a
commit a539bfd765
6 changed files with 7 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ class Advanced extends Component
public function loadCaCertificate()
{
$this->caCertificate = SslCertificate::where('server_id', $this->server->server_id)->where('is_ca_certificate', true)->first();
$this->caCertificate = SslCertificate::where('server_id', $this->server->id)->where('is_ca_certificate', true)->first();
if ($this->caCertificate) {
$this->certificateContent = $this->caCertificate->ssl_certificate;