debug async
This commit is contained in:
2
bot.js
2
bot.js
@@ -229,6 +229,8 @@ async function loadJson(url, auth) {
|
|||||||
let response;
|
let response;
|
||||||
if (auth) {
|
if (auth) {
|
||||||
response = await fetch(url, auth);
|
response = await fetch(url, auth);
|
||||||
|
sendToBotTestingChannel(url);
|
||||||
|
sendToBotTestingChannel(auth);
|
||||||
} else {
|
} else {
|
||||||
response = await fetch(url);
|
response = await fetch(url);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user