mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-31 21:59:39 +03:00
Fix vote webhook not working
This commit is contained in:
@@ -128,7 +128,6 @@ async function sendWebhooks(voteData: VoteData) {
|
||||
webhookURL = config.discordCompletelyIncorrectReportWebhookURL;
|
||||
}
|
||||
|
||||
if (config.newLeafURLs !== null) {
|
||||
const videoID = submissionInfoRow.videoID;
|
||||
const data = await getVideoDetails(videoID);
|
||||
|
||||
@@ -206,7 +205,6 @@ async function sendWebhooks(voteData: VoteData) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
async function categoryVote(UUID: SegmentUUID, userID: HashedUserID, isVIP: boolean, isTempVIP: boolean, isOwnSubmission: boolean, category: Category
|
||||
, hashedIP: HashedIP, finalResponse: FinalResponse): Promise<{ status: number, message?: string }> {
|
||||
|
||||
Reference in New Issue
Block a user