Skip to content

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

fix update issue

x0322050494a61a1cd8
diff --git a/backend/src/ee/services/project-template/project-template-service.ts b/backend/src/ee/services/project-template/project-template-service.ts
index 265de44d7f..4fc546ec17 100644
--- a/backend/src/ee/services/project-template/project-template-service.ts
+++ b/backend/src/ee/services/project-template/project-template-service.ts
@@ -639,7 +639,7 @@ export const projectTemplateServiceFactory = ({
}
// Validate org-managed identities exist in the organization
- let validatedIdentities: { identityId: string; roles: string[] }[] | undefined = [];
+ let validatedIdentities: { identityId: string; roles: string[] }[] | undefined;
if (identities) {
const identityIds = identities.map((i) => i.identityId);
const foundIdentities = await identityDAL.find({