zahmis 5 лет назад
Родитель
Сommit
ea5cf88155
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.');
-      return res.apiv3({ slackBotToken });
+      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.';
+      return res.apiv3({ message });
     }
     catch (error) {
       const msg = 'Error occured in testing to notify slack work space';