Преглед изворни кода

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: {