mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-14 15:37:07 +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
|
let isUpvote = incrementAmount > 0
|
||||||
// Send custom webhooks
|
// Send custom webhooks
|
||||||
if (config.webhooks.size !== 0) {
|
if (config.webhooks.size !== 0) {
|
||||||
console.log("Dispatching webhooks");
|
logger.debug("Dispatching webhooks");
|
||||||
config.webhooks.forEach(customWebhook => {
|
config.webhooks.forEach(customWebhook => {
|
||||||
let customWebhookURL = customWebhook.url;
|
let customWebhookURL = customWebhook.url;
|
||||||
let scopes = customWebhook.scopes;
|
let scopes = customWebhook.scopes;
|
||||||
|
|||||||
Reference in New Issue
Block a user