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