Merge pull request #3739 from akhilmhdh/feat/limit-project-create

feat: added invalidate function to lock
This commit is contained in:
Akhil Mohan
2025-06-06 18:55:03 +05:30
committed by GitHub
2 changed files with 10 additions and 1 deletions
@@ -709,6 +709,10 @@ export const licenseServiceFactory = ({
return licenses;
};
const invalidateGetPlan = async (orgId: string) => {
await keyStore.deleteItem(FEATURE_CACHE_KEY(orgId));
};
return {
generateOrgCustomerId,
removeOrgCustomer,
@@ -723,6 +727,7 @@ export const licenseServiceFactory = ({
return onPremFeatures;
},
getPlan,
invalidateGetPlan,
updateSubscriptionOrgMemberCount,
refreshPlan,
getOrgPlan,