import { t as trpc } from './trpc-client-Bucti7HD.js';
import '@trpc/client';

const POST = async ({ params, request }) => {
  const body = await request.json();
  await trpc.tests.reorder.mutate({ agent: params.agent, order: body.order });
  return new Response(JSON.stringify({ ok: true }), {
    headers: { "content-type": "application/json" }
  });
};

export { POST };
//# sourceMappingURL=_server.ts-DrHkqnDN.js.map
