bug fixes and added stats viewer to admin leaderboard.

This commit is contained in:
bobbert committed 2025-03-20 19:19:28 +00:00
1 parent 7075a816c3
commit d60f52fef3
7 files changed
+1046 -233

No files matched your search

+2 -2
View File
@@ -33,9 +33,9 @@ export async function GET(request, context) {
return Response.json({ error: "Invalid clue ID" }, { status: 400 });
}
// Get the specific clue
// Get the specific clue - UPDATED to include qr_code field
const clue = await queryOne(
"SELECT id, title, description, location FROM clues WHERE id = ?",
"SELECT id, title, description, location, qr_code FROM clues WHERE id = ?",
[clueId]
);