Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

misc: added type assertion

Sheen Capadngan1cff92d00071
diff --git a/backend/src/services/certificate-authority/internal/internal-certificate-authority-service.ts b/backend/src/services/certificate-authority/internal/internal-certificate-authority-service.ts
index af14447a5b..5300f77cba 100644
--- a/backend/src/services/certificate-authority/internal/internal-certificate-authority-service.ts
+++ b/backend/src/services/certificate-authority/internal/internal-certificate-authority-service.ts
@@ -1480,7 +1480,7 @@ export const internalCertificateAuthorityServiceFactory = ({
notAfter: notAfterDate,
keyUsages: selectedKeyUsages,
extendedKeyUsages: selectedExtendedKeyUsages,
- projectId: ca.projectId
+ projectId: ca!.projectId
},
tx
);
@@ -1892,7 +1892,7 @@ export const internalCertificateAuthorityServiceFactory = ({
notAfter: notAfterDate,
keyUsages: selectedKeyUsages,
extendedKeyUsages: selectedExtendedKeyUsages,
- projectId: ca.projectId
+ projectId: ca!.projectId
},
tx
);