|
@@ -17,12 +17,11 @@ const SlackIntegration = (props) => {
|
|
|
|
|
|
|
|
const resetBotType = async() => {
|
|
const resetBotType = async() => {
|
|
|
try {
|
|
try {
|
|
|
- const res = await appContainer.apiv3.put('slack-integration/custom-bot-without-proxy', {
|
|
|
|
|
|
|
+ await appContainer.apiv3.put('slack-integration/custom-bot-without-proxy', {
|
|
|
slackSigningSecret: '',
|
|
slackSigningSecret: '',
|
|
|
slackBotToken: '',
|
|
slackBotToken: '',
|
|
|
botType: '',
|
|
botType: '',
|
|
|
});
|
|
});
|
|
|
- console.log(res);
|
|
|
|
|
}
|
|
}
|
|
|
catch (err) {
|
|
catch (err) {
|
|
|
toastError(err);
|
|
toastError(err);
|