|
|
@@ -272,7 +272,7 @@ module.exports = (crowi) => {
|
|
|
* description: Succeeded to put CustomBotWithoutProxy setting.
|
|
|
*/
|
|
|
router.put('/without-proxy/update-settings', async(req, res) => {
|
|
|
- const currentBotType = crowi.configManager.getConfig('crowi', 'slackbot:signingSecret');
|
|
|
+ const currentBotType = crowi.configManager.getConfig('crowi', 'slackbot:currentBotType');
|
|
|
if (currentBotType !== 'customBotWithoutProxy') {
|
|
|
const msg = 'Not CustomBotWithoutProxy';
|
|
|
return res.apiv3Err(new ErrorV3(msg, 'not-customBotWithoutProxy'), 400);
|