[license] Type

Move package type to license.
warning_limit_percents string -> int
This commit is contained in:
Alexander.Trofimov
2020-02-11 11:43:24 +03:00
parent 311c7cc4bc
commit 88e37601ff
6 changed files with 11 additions and 6 deletions

View File

@ -44,7 +44,7 @@ const redisClient = pubsubRedis.getClientRedis();
const buildDate = '6/29/2016';
const oBuildDate = new Date(buildDate);
const oPackageType = constants.PACKAGE_TYPE_OS;
const oPackageType = configL.get('packageType');
const cfgRedisPrefix = config.get('services.CoAuthoring.redis.prefix');
const redisKeyLicense = cfgRedisPrefix + ((constants.PACKAGE_TYPE_OS === oPackageType) ? constants.REDIS_KEY_LICENSE :