Change no segments error message

This commit is contained in:
Ajay Ramachandran
2020-09-19 13:53:40 -04:00
committed by GitHub
parent abc91cc7a5
commit 5d731463f2

View File

@@ -295,7 +295,7 @@ module.exports = async function postSkipSegments(req, res) {
// TODO: Do something about the fradulent submission // TODO: Do something about the fradulent submission
logger.warn("Caught a no-segment submission. userID: '" + userID + "', videoID: '" + videoID + "', category: '" + segments[i].category + "'"); logger.warn("Caught a no-segment submission. userID: '" + userID + "', videoID: '" + videoID + "', category: '" + segments[i].category + "'");
res.status(403).send( res.status(403).send(
"Request rejected by auto moderator: This video has been reported as not containing any segments with the category '" "Request rejected by auto moderator: New submissions are not allowed for the following category: '"
+ segments[i].category + "'. If you believe this is incorrect, contact someone on Discord." + segments[i].category + "'. If you believe this is incorrect, contact someone on Discord."
); );
return; return;