diff --git a/src/client/Components/Calculation/ELT/Content/Kasko/lib/composeRequest.ts b/src/client/Components/Calculation/ELT/Content/Kasko/lib/composeRequest.ts index d7e1969..530af7c 100644 --- a/src/client/Components/Calculation/ELT/Content/Kasko/lib/composeRequest.ts +++ b/src/client/Components/Calculation/ELT/Content/Kasko/lib/composeRequest.ts @@ -35,8 +35,8 @@ const mapCategory = { }; const mapInfuranceToLesseSubjectType = { - 100000000: '1', - 100000001: '2', + 100000000: 1, + 100000001: 2, }; const getSpecified = value => !isNull(value); @@ -117,11 +117,7 @@ export default function (this: ICalculationStore) { const INN = `${this.getValue('INNForCalc')}`; const infuranceOPF = this.getValue('infuranceOPF'); - const lesseSubjectType = get( - mapInfuranceToLesseSubjectType, - infuranceOPF, - '0', - ); + const lesseSubjectType = get(mapInfuranceToLesseSubjectType, infuranceOPF, 0); return { preparams: {