fix build
Some checks failed
Build and Push App / build (push) Failing after 21s

This commit is contained in:
2026-04-15 22:40:04 +02:00
parent a38c5d1638
commit 889e70bfc0
16 changed files with 135 additions and 42 deletions

View File

@@ -4,11 +4,11 @@ import prisma from '../../../../../lib/prisma'
// PATCH /api/admin/reports/[id] — Update report status
export async function PATCH(
request: NextRequest,
{ params }: { params: Promise<{ id: string }> }
) {
context: { params: Promise<{ id: string }> }
): Promise<Response> {
try {
const userId = request.headers.get('x-user-id')
const { id } = await params
const { id } = await context.params
const { status } = await request.json()
if (!userId) {