aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/custom-validators/videos.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/custom-validators/videos.js')
-rw-r--r--server/helpers/custom-validators/videos.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/helpers/custom-validators/videos.js b/server/helpers/custom-validators/videos.js
index b76eec1b5..8448386d9 100644
--- a/server/helpers/custom-validators/videos.js
+++ b/server/helpers/custom-validators/videos.js
@@ -28,6 +28,7 @@ function isEachRemoteVideosValid (requests) {
28 isRequestTypeAddValid(request.type) && 28 isRequestTypeAddValid(request.type) &&
29 isVideoAuthorValid(video.author) && 29 isVideoAuthorValid(video.author) &&
30 isVideoDateValid(video.createdAt) && 30 isVideoDateValid(video.createdAt) &&
31 isVideoDateValid(video.updatedAt) &&
31 isVideoDescriptionValid(video.description) && 32 isVideoDescriptionValid(video.description) &&
32 isVideoDurationValid(video.duration) && 33 isVideoDurationValid(video.duration) &&
33 isVideoInfoHashValid(video.infoHash) && 34 isVideoInfoHashValid(video.infoHash) &&
@@ -40,6 +41,7 @@ function isEachRemoteVideosValid (requests) {
40 ( 41 (
41 isRequestTypeUpdateValid(request.type) && 42 isRequestTypeUpdateValid(request.type) &&
42 isVideoDateValid(video.createdAt) && 43 isVideoDateValid(video.createdAt) &&
44 isVideoDateValid(video.updatedAt) &&
43 isVideoDescriptionValid(video.description) && 45 isVideoDescriptionValid(video.description) &&
44 isVideoDurationValid(video.duration) && 46 isVideoDurationValid(video.duration) &&
45 isVideoInfoHashValid(video.infoHash) && 47 isVideoInfoHashValid(video.infoHash) &&