Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Fix identity count used by the license server, removed the status filter as identities accept memberships by default
Carlos Monastyrski56e04d8cf0a3
diff --git a/backend/src/ee/services/license/license-dal.ts b/backend/src/ee/services/license/license-dal.tsindex 891d609221..a2bd7ec518 100644--- a/backend/src/ee/services/license/license-dal.ts+++ b/backend/src/ee/services/license/license-dal.ts@@ -44,7 +44,7 @@ export const licenseDALFactory = (db: TDbClient) => {// count org identitiesconst identityDoc = await (tx || db.replicaNode())(TableName.Membership)- .where({ status: OrgMembershipStatus.Accepted, scope: AccessScope.Organization })+ .where({ scope: AccessScope.Organization }).whereNotNull(`${TableName.Membership}.actorIdentityId`).where((bd) => {if (orgId) {