Skip to content

Commit

Permalink
Remove unused request param
Browse files Browse the repository at this point in the history
  • Loading branch information
wxh06 committed Aug 13, 2023
1 parent 6eaa9d8 commit d4d31a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/viewer/src/app/judgement/statistics/route.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { NextResponse, type NextRequest } from "next/server";
import { NextResponse } from "next/server";
import prisma from "@/lib/prisma";

export const dynamic = "force-dynamic";

export async function GET(request: NextRequest) {
export async function GET() {
return NextResponse.json({ judgements: await prisma.judgement.count() });
}

0 comments on commit d4d31a1

Please sign in to comment.