diff --git a/src/controllers/games/share.js b/src/controllers/games/share.js index 69248dc..92508fa 100644 --- a/src/controllers/games/share.js +++ b/src/controllers/games/share.js @@ -188,6 +188,8 @@ router.post('/save_share', async (req, res, next) => { return } + + const body = req.body const isDev = body.isDev const GameShareImageModel = isDev ? GameShareImageTest : GameShareImage