|
|
@@ -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
|