|
@@ -17,7 +17,8 @@ const SlackIntegration = (props) => {
|
|
|
|
|
|
|
|
const fetchData = useCallback(async() => {
|
|
const fetchData = useCallback(async() => {
|
|
|
try {
|
|
try {
|
|
|
- console.log(await appContainer.apiv3.get('slack-integration/'));
|
|
|
|
|
|
|
+ const response = await appContainer.apiv3.get('slack-integration/');
|
|
|
|
|
+ setCurrentBotType(response.currentBotType);
|
|
|
}
|
|
}
|
|
|
catch (err) {
|
|
catch (err) {
|
|
|
toastError(err);
|
|
toastError(err);
|