From 62a114ad1f64220fe46836899597a62b4a8cd037 Mon Sep 17 00:00:00 2001 From: Daniel Tam Date: Wed, 12 Dec 2018 22:08:09 -0600 Subject: [PATCH] async debug --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index 3e46639..bdbc453 100644 --- a/bot.js +++ b/bot.js @@ -230,7 +230,7 @@ async function loadJson(url, auth) { if (auth) { response = await fetch(url, auth); sendToBotTestingChannel('imgur url:' + url); - sendToBotTestingChannel('imgur auth:' + auth.toString()); + sendToBotTestingChannel('imgur auth:' + JSON.stringify(auth)); } else { response = await fetch(url); }