|
|
@@ -246,7 +246,8 @@ module.exports = (crowi) => {
|
|
|
* $ref: '#/components/schemas/Page'
|
|
|
*/
|
|
|
router.get('/', certifySharedPage, accessTokenParser, loginRequired, validator.getPage, apiV3FormValidator, async(req, res) => {
|
|
|
- const { pageId, path, user } = req.query;
|
|
|
+ const { user } = req;
|
|
|
+ const { pageId, path } = req.query;
|
|
|
|
|
|
if (pageId == null && path == null) {
|
|
|
return res.apiv3Err(new ErrorV3('Parameter path or pageId is required.', 'invalid-request'));
|