diff --git a/services/app-web/src/pages/StateSubmission/RateDetails/V2/rateDetailsHelpers.ts b/services/app-web/src/pages/StateSubmission/RateDetails/V2/rateDetailsHelpers.ts index 32309934b2..f9bc44199f 100644 --- a/services/app-web/src/pages/StateSubmission/RateDetails/V2/rateDetailsHelpers.ts +++ b/services/app-web/src/pages/StateSubmission/RateDetails/V2/rateDetailsHelpers.ts @@ -9,7 +9,7 @@ import { import { ActuaryContact, Rate, - RateFormData, + RateFormData, RateFormDataInput, UpdateContractRateInput, } from '../../../../gen/gqlClient' import { S3ClientT } from '../../../../s3' @@ -38,7 +38,7 @@ const generateUpdatedRates = ( // convert from FormikRateForm to GQL RateFormData used in API const convertRateFormToGQLRateFormData = ( rateForm: FormikRateForm -): RateFormData => { +): RateFormDataInput => { return { // intentionally do not map backend calculated fields on submit such status and rateCertificationName rateType: rateForm.rateType, @@ -61,7 +61,7 @@ const convertRateFormToGQLRateFormData = ( certifyingActuaryContacts: rateForm.actuaryContacts, addtlActuaryContacts: rateForm.addtlActuaryContacts, actuaryCommunicationPreference: rateForm.actuaryCommunicationPreference ?? undefined, - packagesWithSharedRateCerts: rateForm.packagesWithSharedRateCerts, + packagesWithSharedRateCerts: [], } }