This commit is contained in:
headlesdev
2025-05-17 11:53:16 +02:00
parent 64b5b5e1c4
commit 5f824a2581
318 changed files with 0 additions and 54608 deletions

View File

@@ -1,16 +0,0 @@
import { NextResponse, NextRequest } from "next/server";
import { prisma } from "@/lib/prisma";
export async function POST(request: NextRequest) {
try {
const notifications = await prisma.notification.findMany();
return NextResponse.json({
notifications
});
} catch (error: any) {
return NextResponse.json({ error: error.message }, { status: 500 });
}
}