|
@@ -118,7 +118,7 @@ module.exports = (crowi) => {
|
|
|
* type: object
|
|
* type: object
|
|
|
* description: A result of `UserGroup.createGroupByName`
|
|
* description: A result of `UserGroup.createGroupByName`
|
|
|
*/
|
|
*/
|
|
|
- router.post('/', /*loginRequiredStrictly, adminRequired, csrf, validator.create, apiV3FormValidator,*/ async(req, res) => {
|
|
|
|
|
|
|
+ router.post('/', loginRequiredStrictly, adminRequired, csrf, validator.create, apiV3FormValidator, async(req, res) => {
|
|
|
const { name, description, parentId } = req.body;
|
|
const { name, description, parentId } = req.body;
|
|
|
|
|
|
|
|
try {
|
|
try {
|