mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 17:27:40 +00:00
Fix missing slug on onPremFeatures for offline licenses
This commit is contained in:
@@ -160,7 +160,10 @@ export const licenseServiceFactory = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isValidOfflineLicense) {
|
if (isValidOfflineLicense) {
|
||||||
onPremFeatures = contents.license.features;
|
onPremFeatures = {
|
||||||
|
...contents.license.features,
|
||||||
|
slug: "enterprise"
|
||||||
|
};
|
||||||
instanceType = InstanceType.EnterpriseOnPremOffline;
|
instanceType = InstanceType.EnterpriseOnPremOffline;
|
||||||
logger.info(`Instance type: ${InstanceType.EnterpriseOnPremOffline}`);
|
logger.info(`Instance type: ${InstanceType.EnterpriseOnPremOffline}`);
|
||||||
isValidLicense = true;
|
isValidLicense = true;
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ export type TOfflineLicense = {
|
|||||||
|
|
||||||
export type TFeatureSet = {
|
export type TFeatureSet = {
|
||||||
_id: null;
|
_id: null;
|
||||||
slug: null;
|
slug: string | null;
|
||||||
tier: -1;
|
tier: -1;
|
||||||
workspaceLimit: null;
|
workspaceLimit: null;
|
||||||
workspacesUsed: number;
|
workspacesUsed: number;
|
||||||
|
|||||||
Reference in New Issue
Block a user