diff --git a/packages/canyon-backend/src/project/services/get-project-chart-data.service.ts b/packages/canyon-backend/src/project/services/get-project-chart-data.service.ts index 60bac343..e1ee0fd8 100644 --- a/packages/canyon-backend/src/project/services/get-project-chart-data.service.ts +++ b/packages/canyon-backend/src/project/services/get-project-chart-data.service.ts @@ -16,14 +16,18 @@ export class GetProjectChartDataService { projectID: projectID, covType: 'all', branch: defaultBranch === '-' ? null : defaultBranch, + NOT: { + summary: { + path: ['statements','covered'], + equals: 0, + }, + }, }), orderBy: { updatedAt: 'desc', }, }); - const summarys = []; - // console.log(allCovTypeCoverages, 'allCovTypeCoverages'); return allCovTypeCoverages .map((item) => { return { @@ -33,6 +37,5 @@ export class GetProjectChartDataService { }; }) .reverse(); - // .slice(-10); } }