Skip to content

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

fix: remove unnecessary type assertion

bernie-g5d6117d075cd
diff --git a/backend/src/services/certificate-v3/certificate-v3-service.ts b/backend/src/services/certificate-v3/certificate-v3-service.ts
index fdec21d490..614344a61b 100644
--- a/backend/src/services/certificate-v3/certificate-v3-service.ts
+++ b/backend/src/services/certificate-v3/certificate-v3-service.ts
@@ -2334,7 +2334,7 @@ export const certificateV3ServiceFactory = ({
if (originalCert.applicationId) {
await $resolveApplicationIdForProfile(
- profile!,
+ profile,
originalCert.applicationId,
{
actor,