mongo fix

This commit is contained in:
gosangam
2026-04-14 19:12:11 +05:30
parent e2f8063d90
commit beffb9fae1
172 changed files with 18029 additions and 1298 deletions
+9
View File
@@ -0,0 +1,9 @@
import { NextResponse } from "next/server";
import { prisma } from "@/lib/db";
export async function GET() {
const entries = await prisma.glossaryEntry.findMany({
orderBy: { term: "asc" },
});
return NextResponse.json(entries);
}