qrmaster.net

This commit is contained in:
Timo Knuth
2025-12-09 22:22:36 +01:00
parent 424c61a176
commit 8c5e2fa58e
37 changed files with 549 additions and 915 deletions

View File

@@ -14,7 +14,6 @@ export async function GET(
where: { slug },
select: {
id: true,
status: true,
content: true,
contentType: true,
},
@@ -24,10 +23,6 @@ export async function GET(
return new NextResponse('QR Code not found', { status: 404 });
}
if (qrCode.status === 'PAUSED') {
return new NextResponse('QR Code is paused', { status: 404 });
}
// Track scan (fire and forget)
trackScan(qrCode.id, request).catch(console.error);