debug auth

This commit is contained in:
Dalton
2018-12-12 20:00:49 -08:00
parent 822a5f55bd
commit f94613aa1d

2
bot.js
View File

@@ -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);
} }