fix: remove truncated management totals
This commit is contained in:
@@ -118,7 +118,6 @@ export class RiskReviewService {
|
||||
return this.prisma.riskRule.findMany({
|
||||
where: tenantId ? { OR: [{ tenantId: null }, { tenantId }] } : undefined,
|
||||
orderBy: [{ priority: 'asc' }, { createdAt: 'asc' }],
|
||||
take: 200,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -146,7 +145,6 @@ export class RiskReviewService {
|
||||
taskId,
|
||||
},
|
||||
orderBy: { createdAt: 'desc' },
|
||||
take: 200,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -158,7 +156,6 @@ export class RiskReviewService {
|
||||
},
|
||||
include: { riskHits: true },
|
||||
orderBy: { createdAt: 'desc' },
|
||||
take: 100,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user