cleanup v2

This commit is contained in:
headlesdev
2025-05-17 12:24:08 +02:00
parent 64b5b5e1c4
commit 8b82578809
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 });
}
}