diff --git a/src/services/juxt-web/routes/console/messages.js b/src/services/juxt-web/routes/console/messages.js index 2d5e106..5e5e024 100644 --- a/src/services/juxt-web/routes/console/messages.js +++ b/src/services/juxt-web/routes/console/messages.js @@ -131,6 +131,7 @@ router.post('/new', async function (req, res) { language_id: req.body.language_id, mii: req.user.mii.data, mii_face_url: `${config.CDN_domain}/mii/${req.pid}/${miiFace}`, + pid: req.pid, platform_id: req.paramPackData ? req.paramPackData.platform_id : 0, region_id: req.paramPackData ? req.paramPackData.region_id : 2, verified: (req.user.accessLevel >= 2), diff --git a/src/services/juxt-web/routes/console/posts.js b/src/services/juxt-web/routes/console/posts.js index 5484ea8..b787b3e 100644 --- a/src/services/juxt-web/routes/console/posts.js +++ b/src/services/juxt-web/routes/console/posts.js @@ -288,6 +288,7 @@ async function newPost(req, res) { language_id: req.body.language_id, mii: req.user.mii.data, mii_face_url: `${config.CDN_domain}/mii/${req.user.pid}/${miiFace}`, + pid: req.pid, platform_id: req.paramPackData ? req.paramPackData.platform_id : 0, region_id: req.paramPackData ? req.paramPackData.region_id : 2, verified: res.locals.moderator,