Fix vote rejection and update warning message

This commit is contained in:
Ajay Ramachandran
2021-01-26 20:44:32 -05:00
parent 10fa36ccf0
commit 69f95e6398
2 changed files with 3 additions and 3 deletions

View File

@@ -307,7 +307,7 @@ export async function postSkipSegments(req: Request, res: Response) {
).count;
if (warningsCount >= config.maxNumberOfActiveWarnings) {
return res.status(403).send('Submission rejected due to too many active warnings. This means that we noticed you were making some mistakes that are not malicious, and we just want to clarify the rules. Could you please send a message in Discord or Matrix along with your public userID or username?');
return res.status(403).send('Submission rejected due to a warning from a moderator. This means that we noticed you were making some common mistakes that are not malicious, and we just want to clarify the rules. Could you please send a message in Discord or Matrix so we can further help you?');
}
const noSegmentList = db.prepare('all', 'SELECT category from noSegments where videoID = ?', [videoID]).map((list: any) => {