Spaces:
Paused
Paused
djmuted
commited on
Commit
·
eb3261c
1
Parent(s):
f47c877
Do not log requests
Browse files- src/slack.js +2 -2
src/slack.js
CHANGED
@@ -26,7 +26,7 @@ async function sendPromptMessage(config, prompt) {
|
|
26 |
};
|
27 |
|
28 |
const response = await axios.post(`https://${config.teamId}.slack.com/api/chat.postMessage`, form, options);
|
29 |
-
console.log(response);
|
30 |
}
|
31 |
|
32 |
async function sendChatReset(config) {
|
@@ -46,7 +46,7 @@ async function sendChatReset(config) {
|
|
46 |
};
|
47 |
|
48 |
const response = await axios.post(`https://${config.teamId}.slack.com/api/chat.command`, form, options);
|
49 |
-
console.log(response);
|
50 |
}
|
51 |
|
52 |
async function waitForWebSocketResponse(config, messages, onData) {
|
|
|
26 |
};
|
27 |
|
28 |
const response = await axios.post(`https://${config.teamId}.slack.com/api/chat.postMessage`, form, options);
|
29 |
+
// console.log(response);
|
30 |
}
|
31 |
|
32 |
async function sendChatReset(config) {
|
|
|
46 |
};
|
47 |
|
48 |
const response = await axios.post(`https://${config.teamId}.slack.com/api/chat.command`, form, options);
|
49 |
+
// console.log(response);
|
50 |
}
|
51 |
|
52 |
async function waitForWebSocketResponse(config, messages, onData) {
|