Просмотр исходного кода

add message if not invite #general

zahmis 5 лет назад
Родитель
Сommit
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) {