Просмотр исходного кода

Fixing Cant read property 'put' of undefined

Steven Fukase 5 лет назад
Родитель
Сommit
0ac894b85e

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

@@ -20,7 +20,7 @@ function CustomBotNonProxySettings() {
   async function updateHandler() {
     try {
       // toastSuccess(t('toaster.update_successed'));
-      const response = await AppContainer.apiv3.put('/custom-bot-non-proxy', requestParams);
+      const response = await AppContainer.apiv3.put('/slack-integration/custom-bot-non-proxy/', requestParams);
       console.log(response);
     }
     catch (err) {