fix(ssl): server id

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

No files matched your search

+1 -1
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;