mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-16 08:26:59 +03:00
Fix rejections not being seperated
This commit is contained in:
@@ -298,7 +298,7 @@ export async function voteOnSponsorTime(req: Request, res: Response) {
|
|||||||
|
|
||||||
if (await isSegmentLocked() || await isVideoLocked()) {
|
if (await isSegmentLocked() || await isVideoLocked()) {
|
||||||
finalResponse.blockVote = true;
|
finalResponse.blockVote = true;
|
||||||
finalResponse.webhookType = VoteWebhookType.Normal
|
finalResponse.webhookType = VoteWebhookType.Rejected
|
||||||
finalResponse.webhookMessage = "Vote rejected: A moderator has decided that this segment is correct"
|
finalResponse.webhookMessage = "Vote rejected: A moderator has decided that this segment is correct"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user