From 97983c37e47a2f831a10c26c290fbcafa64e31b7 Mon Sep 17 00:00:00 2001 From: yulixing Date: Wed, 17 Jul 2019 17:20:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E6=88=8F=E7=8A=B6=E6=80=81=E5=8F=98?= =?UTF-8?q?=E6=9B=B4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/games/games.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/games/games.js b/src/controllers/games/games.js index 824b483..4e49e74 100644 --- a/src/controllers/games/games.js +++ b/src/controllers/games/games.js @@ -193,7 +193,8 @@ router.post('/update', async (req, res, next) => { game: search.game_name, game_name: search.game_name_en, game_id: search.game_id, - platform: body.platforms[info.platformIndex].platform.name, + platform: body.platforms[info.platformIndex].platform.name_en, + platform_name: body.platforms[info.platformIndex].platform.name, platform_id: body.platforms[info.platformIndex].platform.platform_id, status_id: info.status,