itizawa 4 лет назад
Родитель
Сommit
3b8f6e1434

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

@@ -62,7 +62,7 @@ const CustomBotWithProxySettings = (props) => {
   const updateProxyUri = async() => {
     try {
       await appContainer.apiv3.put('/slack-integration-settings/proxy-uri', {
-        newProxyServerUri,
+        proxyUri: newProxyServerUri,
       });
       toastSuccess(t('toaster.update_successed', { target: t('Proxy URL') }));
     }

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

@@ -61,7 +61,7 @@ const OfficialBotSettings = (props) => {
   const updateProxyUri = async() => {
     try {
       await appContainer.apiv3.put('/slack-integration-settings/proxy-uri', {
-        newProxyServerUri,
+        proxyUri: newProxyServerUri,
       });
       toastSuccess(t('toaster.update_successed', { target: t('Proxy URL') }));
     }