|
@@ -139,6 +139,11 @@ module.exports = (crowi) => {
|
|
|
|
|
|
|
|
try {
|
|
try {
|
|
|
await updateSlackBotSettings(requestParams);
|
|
await updateSlackBotSettings(requestParams);
|
|
|
|
|
+
|
|
|
|
|
+ // initialize bolt service
|
|
|
|
|
+ crowi.boltService.initialize();
|
|
|
|
|
+ crowi.boltService.publishUpdatedMessage();
|
|
|
|
|
+
|
|
|
const slackIntegrationSettingsParams = {
|
|
const slackIntegrationSettingsParams = {
|
|
|
currentBotType: crowi.configManager.getConfig('crowi', 'slackbot:type'),
|
|
currentBotType: crowi.configManager.getConfig('crowi', 'slackbot:type'),
|
|
|
};
|
|
};
|