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

+ 2 - 6
src/server/routes/apiv3/slack-integration.js

@@ -284,12 +284,8 @@ module.exports = (crowi) => {
     try {
       this.client.chat.postMessage({
         channel: '#general',
-        blocks: [{
-          type: 'section',
-          text: {
-            type: 'mrkdwn',
-          },
-        }],
+        text: 'Your test was successful!',
+
       });
       console.log(slackBotToken);
       return res.apiv3({ slackBotToken });