Steven Fukase před 4 roky
rodič
revize
c98de5dc00

+ 1 - 8
packages/app/src/server/routes/apiv3/personal-setting.js

@@ -102,14 +102,7 @@ module.exports = (crowi) => {
       body('accountId').isString().not().isEmpty(),
     ],
     editorSettings: [
-      checkSchema({
-        textlintSettings: {
-          isTextlintEnabled: { isBoolean: true },
-          textlintRules: [
-            { name: { isString: true }, options: { isString: true }, isEnabled: { isBoolean: true } },
-          ],
-        },
-      }),
+      body('isTextlintEnabled').isBoolean(),
     ],
   };