Server System

This commit is contained in:
headlessdev
2025-04-12 12:33:37 +02:00
parent c27713ba27
commit 0506731a12
20 changed files with 2049 additions and 21 deletions

View File

@@ -19,7 +19,6 @@ export async function POST(request: NextRequest) {
orderBy: { name: 'asc' }
});
// Gesamtanzahl für Seitenberechnung
const totalCount = await prisma.application.count();
const maxPage = Math.ceil(totalCount / ITEMS_PER_PAGE);