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
2c37cb5a3e2af18e5ba361996d453cab97da82c2