mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +03:00
Remove broken and unnecessary check
This commit is contained in:
@@ -203,7 +203,7 @@ async function voteOnSponsorTime(req, res) {
|
||||
webhookURL = config.discordCompletelyIncorrectReportWebhookURL;
|
||||
}
|
||||
|
||||
if (config.youtubeAPIKey !== null && (webhookURL !== null || config.webhooks.size !== 0)) {
|
||||
if (config.youtubeAPIKey !== null) {
|
||||
YouTubeAPI.videos.list({
|
||||
part: "snippet",
|
||||
id: submissionInfoRow.videoID
|
||||
|
||||
Reference in New Issue
Block a user