feat: expose and display duplicates

This commit is contained in:
William Valentin
2026-02-04 23:38:24 -08:00
parent 1952fbaf30
commit 83f3ff1f69
4 changed files with 179 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import { handleGetDupes } from "./handlers";
export const runtime = "nodejs";
export async function GET(
_request: Request,
context: { params: Promise<{ id: string }> },
): Promise<Response> {
const rawParams = await context.params;
const result = await handleGetDupes({ params: rawParams });
return Response.json(result.body, { status: result.status });
}