We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e593168 commit 2247cdcCopy full SHA for 2247cdc
2 files changed
src/app/api/pay/[token]/crypto-status/route.ts
@@ -51,6 +51,7 @@ export async function GET(
51
);
52
}
53
54
+ // result.invoice is validated but we use token to query payment directly
55
// Get the payment record with crypto details
56
const payment = await prisma.payment.findFirst({
57
where: {
src/app/dashboard/page.tsx
@@ -72,7 +72,7 @@ export default function DashboardPage() {
72
73
<StatCard
74
title="交易笔数"
75
- value={stats?.periodAggregations?.reduce((sum) => sum + 1, 0).toString() || '0'}
+ value={stats?.periodAggregations?.length.toString() || '0'}
76
subtitle="本期间"
77
color="cyan"
78
icon={
0 commit comments