Browse Source

Include isBoltSetup in request parameter

Shun Miyazawa 5 năm trước cách đây
mục cha
commit
a9a5a9c156

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

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