update
All checks were successful
Deploy to Production / deploy (push) Successful in 20s

This commit is contained in:
silverpro89
2026-01-28 20:34:15 +07:00
parent f8a8923cd9
commit 41cfb533d5
3 changed files with 666 additions and 5 deletions

View File

@@ -72,6 +72,7 @@ class GameController {
const cacheKey = `game:${id}`;
const cached = await cacheUtils.get(cacheKey);
/*
if (cached) {
return res.json({
success: true,
@@ -79,7 +80,7 @@ class GameController {
cached: true,
});
}
*/
const game = await Game.findByPk(id);
if (!game) {