diff --git a/services/harmony/app/util/env.ts b/services/harmony/app/util/env.ts index 45a0656d0..b224c03cb 100644 --- a/services/harmony/app/util/env.ts +++ b/services/harmony/app/util/env.ts @@ -1,4 +1,4 @@ -import { IsInt, IsNotEmpty, Matches, Min } from 'class-validator'; +import { IsInt, IsNotEmpty, IsPositive, Matches, Min } from 'class-validator'; import { HarmonyEnv, memorySizeRegex } from '@harmony/util/env'; import _ from 'lodash'; import * as path from 'path'; @@ -108,6 +108,7 @@ class HarmonyServerEnv extends HarmonyEnv { @Min(1) maxDataOperationCacheSize: number; + @IsPositive() wktPrecision: number; locallyDeployedServices: string;