Skip to content

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

feat: added more place for entitlement change

=eb7f76686086
diff --git a/backend/src/ee/services/license-v2/license-v2-service.ts b/backend/src/ee/services/license-v2/license-v2-service.ts
index ed277060ca..98ee8f9c93 100644
--- a/backend/src/ee/services/license-v2/license-v2-service.ts
+++ b/backend/src/ee/services/license-v2/license-v2-service.ts
@@ -874,6 +874,7 @@ export const licenseV2ServiceFactory = ({
if (!result.checkoutUrl) {
throw new InternalServerError({ message: "Checkout session did not return a URL" });
}
+ await licenseClient.markEntitlementsStale(orgId);
return { outcome: "checkout_created" as const, checkoutUrl: result.checkoutUrl };
};