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

fix fb: add /, delete unuse code

zahmis 4 лет назад
Родитель
Сommit
c7aacbbcaa

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

@@ -30,7 +30,7 @@ const CustomBotWithoutProxySettings = (props) => {
 
   const deleteSlackCredentialsHandler = async() => {
     try {
-      await appContainer.apiv3.put('slack-integration/custom-bot-without-proxy', {
+      await appContainer.apiv3.put('/slack-integration/custom-bot-without-proxy', {
         slackSigningSecret: '',
         slackBotToken: '',
         currentBotType: 'customBotWithoutProxy',
@@ -101,7 +101,6 @@ CustomBotWithoutProxySettings.propTypes = {
   isSetupSlackBot: PropTypes.bool,
   slackWSNameInWithoutProxy: PropTypes.string,
   onSetIsSetupSlackBot: PropTypes.func,
-  onSetIsSlackScopeSet: PropTypes.func,
   fetchSlackIntegrationData: PropTypes.func,
 };