aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/customValidators.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/customValidators.js')
-rw-r--r--server/helpers/customValidators.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/helpers/customValidators.js b/server/helpers/customValidators.js
index 9b982369e..b95e2b9bb 100644
--- a/server/helpers/customValidators.js
+++ b/server/helpers/customValidators.js
@@ -19,6 +19,7 @@ function eachIsRemoteVideosAddValid (values) {
19 !isNaN(val.duration) && 19 !isNaN(val.duration) &&
20 val.duration >= 0 && 20 val.duration >= 0 &&
21 val.duration < constants.MAXIMUM_VIDEO_DURATION && 21 val.duration < constants.MAXIMUM_VIDEO_DURATION &&
22 validator.isLength(val.author, 1, constants.MAXIMUM_AUTHOR_LENGTH) &&
22 validator.isDate(val.createdDate) 23 validator.isDate(val.createdDate)
23 }) 24 })
24} 25}