1import { handler } from "@/lib/api";2import { findDuplicates } from "@/lib/search";3export const GET = handler(async ({ req, ws }) => Response.json(await findDuplicates(ws.id, Number(new URL(req.url).searchParams.get("threshold") ?? 0.93))));4
main