Steven Fukase 5 лет назад
Родитель
Сommit
81a95bb3fa
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx

+ 1 - 1
src/client/js/components/Admin/SlackIntegration/SlackIntegration.jsx

@@ -51,7 +51,7 @@ const SlackIntegration = (props) => {
       const res = await appContainer.apiv3.put('slack-integration/custom-bot-without-proxy', {
       const res = await appContainer.apiv3.put('slack-integration/custom-bot-without-proxy', {
         slackSigningSecret: '',
         slackSigningSecret: '',
         slackBotToken: '',
         slackBotToken: '',
-        botType: selectedBotType,
+        currentBotType: selectedBotType,
       });
       });
       setCurrentBotType(res.data.customBotWithoutProxySettingParams.slackBotType);
       setCurrentBotType(res.data.customBotWithoutProxySettingParams.slackBotType);
       setSelectedBotType(null);
       setSelectedBotType(null);