From 77d08d2340188acbbabb068fe9b6195d6a7a1acf Mon Sep 17 00:00:00 2001 From: TAG-Epic Date: Sun, 23 Aug 2020 20:05:11 +0200 Subject: [PATCH] Use logger instead of console.log --- src/routes/voteOnSponsorTime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/voteOnSponsorTime.js b/src/routes/voteOnSponsorTime.js index a5d6ace..dea5a31 100644 --- a/src/routes/voteOnSponsorTime.js +++ b/src/routes/voteOnSponsorTime.js @@ -223,7 +223,7 @@ async function voteOnSponsorTime(req, res) { let isUpvote = incrementAmount > 0 // Send custom webhooks if (config.webhooks.size !== 0) { - console.log("Dispatching webhooks"); + logger.debug("Dispatching webhooks"); config.webhooks.forEach(customWebhook => { let customWebhookURL = customWebhook.url; let scopes = customWebhook.scopes;