diff --git a/src/reports/index.ts b/src/reports/index.ts index cac5bcee3..14e40f81a 100644 --- a/src/reports/index.ts +++ b/src/reports/index.ts @@ -839,7 +839,7 @@ export namespace ReportsModel { export interface ReportSettinsConfig { baseRates: BaseRate; - netRateSchemes: NetRateSchemas[]; + netRateSchemes: NetRateSchemas; individualRates: IndividualRate[]; } diff --git a/tests/reports/api.test.ts b/tests/reports/api.test.ts index f32cdb7ae..8ff58c960 100644 --- a/tests/reports/api.test.ts +++ b/tests/reports/api.test.ts @@ -103,7 +103,11 @@ describe('Reports API', () => { const config: ReportsModel.ReportSettinsConfig = { individualRates: [], baseRates: { fullTranslation: 0, proofread: 0 }, - netRateSchemes: [], + netRateSchemes: { + tmMatch: [], + mtMatch: [], + suggestionMatch: [], + }, }; const isPublic = false; const userId = 123;