|
@@ -30,6 +30,7 @@ const CustomBotWithProxySettings = (props) => {
|
|
|
|
|
|
|
|
const discardTokenHandler = async(tokenGtoP, tokenPtoG) => {
|
|
const discardTokenHandler = async(tokenGtoP, tokenPtoG) => {
|
|
|
try {
|
|
try {
|
|
|
|
|
+ // GW-6068 set new value after this
|
|
|
await appContainer.apiv3.delete('/slack-integration-settings/slack-app-integration', { tokenGtoP, tokenPtoG });
|
|
await appContainer.apiv3.delete('/slack-integration-settings/slack-app-integration', { tokenGtoP, tokenPtoG });
|
|
|
}
|
|
}
|
|
|
catch (err) {
|
|
catch (err) {
|
|
@@ -40,6 +41,7 @@ const CustomBotWithProxySettings = (props) => {
|
|
|
|
|
|
|
|
const generateTokenHandler = async() => {
|
|
const generateTokenHandler = async() => {
|
|
|
try {
|
|
try {
|
|
|
|
|
+ // GW-6068 set new value after this
|
|
|
await appContainer.apiv3.put('/slack-integration-settings/access-tokens');
|
|
await appContainer.apiv3.put('/slack-integration-settings/access-tokens');
|
|
|
}
|
|
}
|
|
|
catch (err) {
|
|
catch (err) {
|