|
|
@@ -17,14 +17,6 @@ const CustomBotWithoutProxySettings = (props) => {
|
|
|
const [connectionMessage, setConnectionMessage] = useState(null);
|
|
|
const [testChannel, setTestChannel] = useState('');
|
|
|
|
|
|
- // const addLogs = (log) => {
|
|
|
- // const newLog = `${new Date()} - ${log.code}, ${log.message}\n\n`;
|
|
|
- // if (connectionMessage == null) {
|
|
|
- // return setConnectionMessage(newLog);
|
|
|
- // }
|
|
|
- // setConnectionMessage(`${newLog}${connectionMessage}`);
|
|
|
- // };
|
|
|
-
|
|
|
const testConnection = async() => {
|
|
|
try {
|
|
|
await appContainer.apiv3.post('/slack-integration-settings/without-proxy/test', { channel: testChannel });
|