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

export async function PATCH(
  req: NextRequest,
  { params }: { params: { id: string } }
) {
  return proxyRequest(req, `transactions/${params.id}/derived`);
}
