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