mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-14 07:27:01 +03:00
Use logger instead of console.log
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user