Files
winninghunter/src/app/api/admin/ingest/seed-demo/route.ts
T
2026-07-07 20:40:43 +03:00

8 lines
270 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { NextResponse } from "next/server";
import { requireAdmin } from "@/lib/auth/current-user";
export async function POST() {
await requireAdmin();
return NextResponse.json({ ok: true, message: "Demo seed komut satırından çalışır: npm run db:seed" });
}