Skip to content

Commit cda173e

Browse files
authored
fix: let cleanOldTestVariations respect project boundaries (#179)
Co-authored-by: Mario Melcher <[email protected]>
1 parent 0a3edf8 commit cda173e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/shared/tasks/tasks.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export class TasksService {
2323

2424
const testVariations = await this.prismaService.testVariation.findMany({
2525
where: {
26+
projectId: project.id,
2627
updatedAt: { lte: dateRemoveAfter },
2728
branchName: { not: project.mainBranchName },
2829
},

0 commit comments

Comments
 (0)