diff options
Diffstat (limited to 'server/helpers/custom-validators/remote')
-rw-r--r-- | server/helpers/custom-validators/remote/videos.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/helpers/custom-validators/remote/videos.js b/server/helpers/custom-validators/remote/videos.js index ba2d0bb93..e1636e0e6 100644 --- a/server/helpers/custom-validators/remote/videos.js +++ b/server/helpers/custom-validators/remote/videos.js | |||
@@ -92,7 +92,9 @@ function isCommonVideoAttributesValid (video) { | |||
92 | videosValidators.isVideoTagsValid(video.tags) && | 92 | videosValidators.isVideoTagsValid(video.tags) && |
93 | videosValidators.isVideoRemoteIdValid(video.remoteId) && | 93 | videosValidators.isVideoRemoteIdValid(video.remoteId) && |
94 | videosValidators.isVideoExtnameValid(video.extname) && | 94 | videosValidators.isVideoExtnameValid(video.extname) && |
95 | videosValidators.isVideoViewsValid(video.views) | 95 | videosValidators.isVideoViewsValid(video.views) && |
96 | videosValidators.isVideoLikesValid(video.likes) && | ||
97 | videosValidators.isVideoDislikesValid(video.dislikes) | ||
96 | } | 98 | } |
97 | 99 | ||
98 | function isRequestTypeAddValid (value) { | 100 | function isRequestTypeAddValid (value) { |