Przeglądaj źródła

Deleted console log and unused var

Steven Fukase 5 lat temu
rodzic
commit
1df60e2b32

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

@@ -17,11 +17,12 @@ const SlackIntegration = (props) => {
 
 
   const resetBotType = async() => {
   const resetBotType = async() => {
     try {
     try {
-      await appContainer.apiv3.put('slack-integration/custom-bot-without-proxy', {
+      const res = 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);