import { NextRequest } from "next/server";
import { proxyRequest } from "@/lib/backend";

export async function GET(
  req: NextRequest,
  { params }: { params: { id: string } },
) {
  return proxyRequest(req, `tax/returns/${params.id}/intake`);
}

export async function PUT(
  req: NextRequest,
  { params }: { params: { id: string } },
) {
  return proxyRequest(req, `tax/returns/${params.id}/intake`);
}
