mirror of
https://github.com/mudabbir-ahmad/peworkshop.git
synced 2026-10-07 19:50:20 +00:00
SCANNER WORKS!!! JUST ADD THE MORE CLUE BUTTONS !!! AND NEXT CLUE ERROR CHECKING
This commit is contained in:
1 parent
07099ba6b4
commit
02a0088d28
11 files changed
+861
-217
No files matched your search
@@ -24,8 +24,9 @@ export async function GET(request, context) {
|
||||
);
|
||||
}
|
||||
|
||||
// Get the clueId directly from the params
|
||||
const { clueId } = context.params;
|
||||
// Get the clueId from params - properly awaited
|
||||
const params = await context.params;
|
||||
const { clueId } = params;
|
||||
|
||||
// Validate clueId is a number
|
||||
if (isNaN(parseInt(clueId))) {
|
||||
|
||||
Reference in new issue
Block a user