zahmis 5 лет назад
Родитель
Сommit
68c4b47e3a
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      src/server/routes/apiv3/slack-integration.js

+ 3 - 0
src/server/routes/apiv3/slack-integration.js

@@ -56,6 +56,9 @@ module.exports = (crowi) => {
       body('currentBotType')
       body('currentBotType')
         .isIn(['official-bot', 'custom-bot-without-proxy', 'custom-bot-with-proxy']),
         .isIn(['official-bot', 'custom-bot-without-proxy', 'custom-bot-with-proxy']),
     ],
     ],
+    NotificationTestToSlackWorkSpace: [
+      body('channel').isString(),
+    ],
   };
   };
 
 
   async function updateSlackBotSettings(params) {
   async function updateSlackBotSettings(params) {