changed the way clue buttons are rendered so their indexing exists for when they are needed but if the clue for them doesnt exist they dont cause errors

This commit is contained in:
bobbert committed 2025-03-18 20:51:04 +00:00
1 parent 0d57df2559
commit f7a5d744b0
2 files changed
+29 -60

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ const JWT_SECRET =
export function createToken(payload) {
// Check if payload already has an expiration date set
const options = payload.exp ? {} : { expiresIn: "30d" };
return jwt.sign(payload, JWT_SECRET, options);
}