import { type NextRequest } from "next/server";

import { aiProxy } from "../_aiProxy";

export const dynamic = "force-dynamic";

// Save a generated article as a blog post (content-svc BlogsController, admin-gated).
export async function POST(req: NextRequest) {
  return aiProxy(req, "/v1/blogs", "POST");
}
