redo of entire app

This commit is contained in:
bobbert committed 2025-03-11 16:22:47 +00:00
1 parent 7dee4879a7
commit 093dd7ea9e
45 files changed
+686 -5659

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { query } from '../../../lib/db';
export async function POST(request) {
const { clueId, teamId } = await request.json();
await query('UPDATE clues SET found = TRUE WHERE id = ? AND team_id = ?', [
clueId,
teamId,
]);
return Response.json({ message: 'Clue marked as found' });
}