Browse Source

Uncomment middlewares

Taichi Masuyama 4 years ago
parent
commit
1ba6924136
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/server/routes/apiv3/pages.js

+ 1 - 1
packages/app/src/server/routes/apiv3/pages.js

@@ -784,7 +784,7 @@ module.exports = (crowi) => {
   });
   });
 
 
   // eslint-disable-next-line max-len
   // eslint-disable-next-line max-len
-  router.post('/legacy-pages-migration', /* accessTokenParser, loginRequired, csrf, */ validator.legacyPagesMigration, apiV3FormValidator, async(req, res) => {
+  router.post('/legacy-pages-migration', accessTokenParser, loginRequired, csrf, validator.legacyPagesMigration, apiV3FormValidator, async(req, res) => {
     const { convertPath, pageIds: _pageIds, isRecursively } = req.body;
     const { convertPath, pageIds: _pageIds, isRecursively } = req.body;
 
 
     // Convert by path
     // Convert by path