소스 검색

Include isBoltSetup in request parameter

Shun Miyazawa 5 년 전
부모
커밋
bf1aa040df
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/server/routes/apiv3/slack-integration.js

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

@@ -87,6 +87,7 @@ module.exports = (crowi) => {
    */
   router.get('/', accessTokenParser, loginRequiredStrictly, adminRequired, async(req, res) => {
     const slackBotSettingParams = {
+      isBoltSetup: crowi.boltService.isBoltSetup,
       currentBotType: crowi.configManager.getConfig('crowi', 'slackbot:currentBotType'),
       // TODO impl when creating official bot
       officialBotSettings: {