From 67bd291c7ec461bbfca31e36c69e2c6ac217821f Mon Sep 17 00:00:00 2001 From: yulixing Date: Thu, 4 Jul 2019 20:31:10 +0800 Subject: [PATCH] fix perm bug, add share-lib --- src/controllers/games/share.js | 2 ++ 1 file changed, 2 insertions(+) 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