diff --git a/packages/canyon-backend/src/tasks/services/aggregation-coverage.service.ts b/packages/canyon-backend/src/tasks/services/aggregation-coverage.service.ts index 94db229f..934ab4c6 100755 --- a/packages/canyon-backend/src/tasks/services/aggregation-coverage.service.ts +++ b/packages/canyon-backend/src/tasks/services/aggregation-coverage.service.ts @@ -33,7 +33,7 @@ export class AggregationCoverageService { }), }); - const { compareTarget, projectID, reporter, branch } = + const { compareTarget, projectID, reporter, branch, device } = await prisma.coverage.findFirst({ where: { commitSha, @@ -92,6 +92,7 @@ export class AggregationCoverageService { key: '', instrumentCwd: '', branch: branch, + device: device, }, }); }