Fix rejections not being seperated

This commit is contained in:
Ajay Ramachandran
2021-06-09 15:14:31 -04:00
parent 4225d9b3b3
commit 344e680fe3

View File

@@ -298,7 +298,7 @@ export async function voteOnSponsorTime(req: Request, res: Response) {
if (await isSegmentLocked() || await isVideoLocked()) {
finalResponse.blockVote = true;
finalResponse.webhookType = VoteWebhookType.Normal
finalResponse.webhookType = VoteWebhookType.Rejected
finalResponse.webhookMessage = "Vote rejected: A moderator has decided that this segment is correct"
}
}