Browse Source

Include isBoltSetup in request parameter

Shun Miyazawa 5 years ago
parent
commit
a9a5a9c156
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/server/routes/apiv3/slack-integration.js

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

@@ -76,8 +76,8 @@ module.exports = (crowi) => {
    *            description: Succeeded to get slackBot setting params.
    */
   router.get('/', accessTokenParser, loginRequiredStrictly, adminRequired, async(req, res) => {
-
     const slackBotSettingParams = {
+      isBoltSetup: crowi.boltService.isBoltSetup,
       slackBotType: crowi.configManager.getConfig('crowi', 'slackbot:type'),
       // TODO impl when creating official bot
       officialBotSettings: {