浏览代码

add message if not invite #general

zahmis 5 年之前
父节点
当前提交
d886a533e9
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/server/routes/apiv3/slack-integration.js

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

@@ -288,7 +288,8 @@ module.exports = (crowi) => {
       });
       logger.info('SlackTest: send success massage to slack work space at #general.');
       logger.info('If you do not receive a message, you may not have invited the bot to the #general channel.');
-      const message = 'Send massage to slack work space at #general. If you do not receive a message, you may not have invited the bot to the #general channel.';
+      // eslint-disable-next-line max-len
+      const message = 'Successfully send message to Slack work space. If you do not receive a message, you may not have invited the bot to the #general channel.';
       return res.apiv3({ message });
     }
     catch (error) {