|
@@ -492,7 +492,7 @@ module.exports = (crowi) => {
|
|
|
* 409:
|
|
* 409:
|
|
|
* description: page path is already existed
|
|
* description: page path is already existed
|
|
|
*/
|
|
*/
|
|
|
- router.put('/rename', addActivity, accessTokenParser, loginRequiredStrictly, csrf, validator.renamePage, apiV3FormValidator, async(req, res) => {
|
|
|
|
|
|
|
+ router.put('/rename', accessTokenParser, loginRequiredStrictly, csrf, addActivity, validator.renamePage, apiV3FormValidator, async(req, res) => {
|
|
|
const { pageId, revisionId } = req.body;
|
|
const { pageId, revisionId } = req.body;
|
|
|
|
|
|
|
|
let newPagePath = pathUtils.normalizePath(req.body.newPagePath);
|
|
let newPagePath = pathUtils.normalizePath(req.body.newPagePath);
|