瀏覽代碼

fix message

zahmis 5 年之前
父節點
當前提交
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 });