Explorar o código

Include isBoltSetup in request parameter

Shun Miyazawa %!s(int64=5) %!d(string=hai) anos
pai
achega
bf1aa040df
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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: {