fix: remove truncated management totals
This commit is contained in:
@@ -202,7 +202,6 @@ describe('OperationsService', () => {
|
||||
},
|
||||
include: { tenant: true, application: true, channel: true, submitRecords: true, receiptRecords: true },
|
||||
orderBy: { queuedAt: 'desc' },
|
||||
take: 500,
|
||||
});
|
||||
});
|
||||
|
||||
@@ -229,7 +228,6 @@ describe('OperationsService', () => {
|
||||
},
|
||||
},
|
||||
orderBy: { receivedAt: 'desc' },
|
||||
take: 500,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -81,7 +81,6 @@ export class OperationsService {
|
||||
where: { tenantId: query.tenantId, status: query.status },
|
||||
include: { apiRequests: true },
|
||||
orderBy: { createdAt: 'desc' },
|
||||
take: 200,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -90,7 +89,6 @@ export class OperationsService {
|
||||
where: messageWhere(query),
|
||||
include: { tenant: true, application: true, channel: true, submitRecords: true, receiptRecords: true },
|
||||
orderBy: { queuedAt: 'desc' },
|
||||
take: 500,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -112,7 +110,6 @@ export class OperationsService {
|
||||
},
|
||||
},
|
||||
orderBy: { receivedAt: 'desc' },
|
||||
take: 500,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -303,7 +300,6 @@ export class OperationsService {
|
||||
return this.prisma.operationLog.findMany({
|
||||
where: { tenantId: query.tenantId, userId: query.userId },
|
||||
orderBy: { createdAt: 'desc' },
|
||||
take: 500,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user