zahmis 4 лет назад
Родитель
Сommit
2c69588d67

+ 2 - 4
packages/app/src/server/routes/apiv3/slack-integration-settings.js

@@ -373,7 +373,7 @@ module.exports = (crowi) => {
         slackSigningSecret: crowi.configManager.getConfig('crowi', 'slackbot:withoutProxy:signingSecret'),
         slackBotToken: crowi.configManager.getConfig('crowi', 'slackbot:withoutProxy:botToken'),
       };
-      return res.apiv3({ customBotWithoutProxySettingParams });
+      return res.apiv3();
     }
     catch (error) {
       const msg = 'Error occured in updating Custom bot setting';
@@ -410,9 +410,7 @@ module.exports = (crowi) => {
     try {
       await updateSlackBotSettings(requestParams);
       crowi.slackIntegrationService.publishUpdatedMessage();
-
-      const customBotWithoutProxyCommandPermissionarams = crowi.configManager.getConfig('crowi', 'slackbot:withoutProxy:commandPermission');
-      return res.apiv3({ customBotWithoutProxyCommandPermissionarams });
+      return res.apiv3();
     }
     catch (error) {
       const msg = 'Error occured in updating command permission settigns';