Browse Source

Revert "wip"

This reverts commit 4924bd45e998a88b3d447246361443d4529f7384.
zahmis 4 năm trước cách đây
mục cha
commit
08797b9335

+ 1 - 5
packages/app/src/server/routes/apiv3/slack-integration-settings.js

@@ -171,6 +171,7 @@ module.exports = (crowi) => {
 
     const { configManager } = crowi;
     const currentBotType = configManager.getConfig('crowi', 'slackbot:currentBotType');
+
     // retrieve settings
     const settings = {};
     if (currentBotType === SlackbotType.CUSTOM_WITHOUT_PROXY) {
@@ -182,11 +183,6 @@ module.exports = (crowi) => {
     else {
       settings.proxyServerUri = crowi.configManager.getConfig('crowi', 'slackbot:proxyUri');
       settings.proxyUriEnvVars = configManager.getConfigFromEnvVars('crowi', 'slackbot:proxyUri');
-      settings.permissionCommands = {
-        search: true,
-        create: true,
-        togetter: true,
-      };
     }
 
     // retrieve connection statuses