|
|
@@ -787,7 +787,7 @@ module.exports = (crowi) => {
|
|
|
});
|
|
|
|
|
|
// eslint-disable-next-line max-len
|
|
|
- router.post('/legacy-pages-migration', accessTokenParser, loginRequired, adminRequired, csrf, validator.legacyPagesMigration, apiV3FormValidator, async(req, res) => {
|
|
|
+ router.post('/legacy-pages-migration', accessTokenParser, loginRequired, csrf, validator.legacyPagesMigration, apiV3FormValidator, async(req, res) => {
|
|
|
const { pageIds: _pageIds, isRecursively } = req.body;
|
|
|
const pageIds = _pageIds == null ? [] : _pageIds;
|
|
|
|