This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user