diff --git a/server/private/license/license.ts b/server/private/license/license.ts index 56b744a0..809f5ca9 100644 --- a/server/private/license/license.ts +++ b/server/private/license/license.ts @@ -59,8 +59,7 @@ type TokenPayload = { }; export class License { - // private phoneHomeInterval = 6 * 60 * 60; // 6 hours = 6 * 60 * 60 = 21600 seconds - private phoneHomeInterval = 30; // 30 seconds for testing + private phoneHomeInterval = 6 * 60 * 60; // 6 hours = 6 * 60 * 60 = 21600 seconds private serverBaseUrl = "https://api.fossorial.io"; private validationServerUrl = `${this.serverBaseUrl}/api/v1/license/enterprise/validate`; private activationServerUrl = `${this.serverBaseUrl}/api/v1/license/enterprise/activate`; diff --git a/src/components/LicenseKeysDataTable.tsx b/src/components/LicenseKeysDataTable.tsx index 9c4750b4..0f279ffd 100644 --- a/src/components/LicenseKeysDataTable.tsx +++ b/src/components/LicenseKeysDataTable.tsx @@ -96,7 +96,7 @@ export function LicenseKeysDataTable({ }, cell: ({ row }) => { const tier = row.original.tier; - tier === "enterprise" + return tier === "enterprise" ? t("licenseTierEnterprise") : t("licenseTierPersonal"); }