Răsfoiți Sursa

Include isBoltSetup in request parameter

Shun Miyazawa 5 ani în urmă
părinte
comite
bf1aa040df
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  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: {