|
|
@@ -33,7 +33,7 @@ const SlackIntegration = (props) => {
|
|
|
return setSlackWSNameInWithoutProxy(null);
|
|
|
}
|
|
|
try {
|
|
|
- const res = await appContainer.apiv3.get('/slack-integration/custom-bot-without-proxy/slack-workspace-name');
|
|
|
+ const res = await appContainer.apiv3.get('/slack-integration-legacy/custom-bot-without-proxy/slack-workspace-name');
|
|
|
setSlackWSNameInWithoutProxy(res.data.slackWorkSpaceName);
|
|
|
setIsSlackScopeSet(true);
|
|
|
}
|
|
|
@@ -51,7 +51,7 @@ const SlackIntegration = (props) => {
|
|
|
|
|
|
const fetchSlackIntegrationData = useCallback(async() => {
|
|
|
try {
|
|
|
- const response = await appContainer.apiv3.get('slack-integration/');
|
|
|
+ const response = await appContainer.apiv3.get('/slack-integration-legacy/');
|
|
|
const { currentBotType, customBotWithoutProxySettings } = response.data.slackBotSettingParams;
|
|
|
const {
|
|
|
slackSigningSecret, slackBotToken, slackSigningSecretEnvVars, slackBotTokenEnvVars,
|
|
|
@@ -103,7 +103,7 @@ const SlackIntegration = (props) => {
|
|
|
|
|
|
const changeCurrentBotSettingsHandler = async() => {
|
|
|
try {
|
|
|
- const res = await appContainer.apiv3.put('slack-integration/custom-bot-without-proxy', {
|
|
|
+ const res = await appContainer.apiv3.put('/slack-integration-legacy/custom-bot-without-proxy', {
|
|
|
slackSigningSecret: '',
|
|
|
slackBotToken: '',
|
|
|
currentBotType: selectedBotType,
|