@@ -85,7 +85,7 @@ const SlackIntegration = (props) => {
const changeCurrentBotSettingsHandler = async() => {
try {
- const res = await appContainer.apiv3.put('/slack-integration-settings/custom-bot-without-proxy', {
+ const res = await appContainer.apiv3.put('/slack-integration-settings/bot-type', {
slackSigningSecret: '',
slackBotToken: '',
currentBotType: selectedBotType,
@@ -177,7 +177,7 @@ module.exports = (crowi) => {
* 200:
* description: Succeeded to put CustomBotWithoutProxy setting.
*/
- router.put('/custom-bot-without-proxy',
+ router.put('/bot-type',
accessTokenParser, loginRequiredStrictly, adminRequired, csrf, validator.CustomBotWithoutProxy, apiV3FormValidator, async(req, res) => {
const { slackSigningSecret, slackBotToken, currentBotType } = req.body;
const requestParams = {