|
@@ -71,13 +71,19 @@ module.exports = (crowi) => {
|
|
|
slackBotType: await crowi.configManager.getConfig('crowi', 'slackbot:type'),
|
|
slackBotType: await crowi.configManager.getConfig('crowi', 'slackbot:type'),
|
|
|
// TODO impl when creating official bot
|
|
// TODO impl when creating official bot
|
|
|
officialBotSettings: {
|
|
officialBotSettings: {
|
|
|
|
|
+ // TODO impl this after GW-4939
|
|
|
|
|
+ // AccessToken: "tempaccessdatahogehoge",
|
|
|
},
|
|
},
|
|
|
cusotmBotNonProxySettings: {
|
|
cusotmBotNonProxySettings: {
|
|
|
|
|
+ // TODO impl this after GW-4939
|
|
|
|
|
+ // AccessToken: "tempaccessdatahogehoge",
|
|
|
slackSigningSecret: await crowi.configManager.getConfig('crowi', 'slackbot:signingSecret'),
|
|
slackSigningSecret: await crowi.configManager.getConfig('crowi', 'slackbot:signingSecret'),
|
|
|
slackBotToken: await crowi.configManager.getConfig('crowi', 'slackbot:token'),
|
|
slackBotToken: await crowi.configManager.getConfig('crowi', 'slackbot:token'),
|
|
|
},
|
|
},
|
|
|
// TODO imple when creating with proxy
|
|
// TODO imple when creating with proxy
|
|
|
cusotmBotWithProxySettings: {
|
|
cusotmBotWithProxySettings: {
|
|
|
|
|
+ // TODO impl this after GW-4939
|
|
|
|
|
+ // AccessToken: "tempaccessdatahogehoge",
|
|
|
},
|
|
},
|
|
|
};
|
|
};
|
|
|
return res.apiv3({ slackBotSettingParams });
|
|
return res.apiv3({ slackBotSettingParams });
|