fix tier and remove test interval

This commit is contained in:
miloschwartz
2025-10-13 17:01:15 -07:00
parent 2a2a550a6a
commit 881eac4722
2 changed files with 2 additions and 3 deletions

View File

@@ -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`;

View File

@@ -96,7 +96,7 @@ export function LicenseKeysDataTable({
},
cell: ({ row }) => {
const tier = row.original.tier;
tier === "enterprise"
return tier === "enterprise"
? t("licenseTierEnterprise")
: t("licenseTierPersonal");
}