1
0
Fork 0

Limit comment length to 1 character, fixes #394 (#399)

This commit is contained in:
Aurélien Bertron 2018-03-24 19:40:48 +01:00 committed by Rigel Kent
parent b00d377021
commit b32b782718

View file

@ -226,7 +226,7 @@ const CONSTRAINTS_FIELDS = {
COUNT: { min: 0 } COUNT: { min: 0 }
}, },
VIDEO_COMMENTS: { VIDEO_COMMENTS: {
TEXT: { min: 2, max: 3000 }, // Length TEXT: { min: 1, max: 3000 }, // Length
URL: { min: 3, max: 2000 } // Length URL: { min: 3, max: 2000 } // Length
}, },
VIDEO_SHARE: { VIDEO_SHARE: {