fix: avoid duplicate ledger vars in traffic payout query
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 7s

This commit is contained in:
OG T
2026-06-07 16:35:49 +08:00
parent b8ec6cd931
commit 7c4841c27d

View File

@@ -40,8 +40,6 @@ export async function GET(request: NextRequest) {
totalRows,
latestEvents,
judgeCompleteRows,
capturedPayoutCount,
releasedPayoutCount,
] = await Promise.all([
prisma.auditEvent.groupBy({
by: ["action"],