zahmis 5 lat temu
rodzic
commit
96d5c0a6a4
1 zmienionych plików z 2 dodań i 6 usunięć
  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 {
     try {
       this.client.chat.postMessage({
       this.client.chat.postMessage({
         channel: '#general',
         channel: '#general',
-        blocks: [{
-          type: 'section',
-          text: {
-            type: 'mrkdwn',
-          },
-        }],
+        text: 'Your test was successful!',
+
       });
       });
       console.log(slackBotToken);
       console.log(slackBotToken);
       return res.apiv3({ slackBotToken });
       return res.apiv3({ slackBotToken });