|
@@ -140,7 +140,8 @@ module.exports = (crowi) => {
|
|
|
body('hierarchyValue').isNumeric(),
|
|
body('hierarchyValue').isNumeric(),
|
|
|
],
|
|
],
|
|
|
exist: [
|
|
exist: [
|
|
|
- query('newParentPath').isString(),
|
|
|
|
|
|
|
+ query('fromPath').isString(),
|
|
|
|
|
+ query('toPath').isString(),
|
|
|
],
|
|
],
|
|
|
};
|
|
};
|
|
|
|
|
|