diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-03-22 21:15:55 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-03-22 21:25:24 +0100 |
commit | 6e07c3de88791a0b342e0cc319590048117f9c2d (patch) | |
tree | 049f88d3f6d3ec0aeea09702a583deb86d6ef78f /server/helpers/custom-validators/remote | |
parent | 2d7653dc8726185615bab66353c4e3fb8fbb5a5f (diff) | |
download | PeerTube-6e07c3de88791a0b342e0cc319590048117f9c2d.tar.gz PeerTube-6e07c3de88791a0b342e0cc319590048117f9c2d.tar.zst PeerTube-6e07c3de88791a0b342e0cc319590048117f9c2d.zip |
Add video category support
Diffstat (limited to 'server/helpers/custom-validators/remote')
-rw-r--r-- | server/helpers/custom-validators/remote/videos.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/helpers/custom-validators/remote/videos.js b/server/helpers/custom-validators/remote/videos.js index e1636e0e6..701acdbfd 100644 --- a/server/helpers/custom-validators/remote/videos.js +++ b/server/helpers/custom-validators/remote/videos.js | |||
@@ -85,6 +85,7 @@ module.exports = remoteVideosValidators | |||
85 | function isCommonVideoAttributesValid (video) { | 85 | function isCommonVideoAttributesValid (video) { |
86 | return videosValidators.isVideoDateValid(video.createdAt) && | 86 | return videosValidators.isVideoDateValid(video.createdAt) && |
87 | videosValidators.isVideoDateValid(video.updatedAt) && | 87 | videosValidators.isVideoDateValid(video.updatedAt) && |
88 | videosValidators.isVideoCategoryValid(video.category) && | ||
88 | videosValidators.isVideoDescriptionValid(video.description) && | 89 | videosValidators.isVideoDescriptionValid(video.description) && |
89 | videosValidators.isVideoDurationValid(video.duration) && | 90 | videosValidators.isVideoDurationValid(video.duration) && |
90 | videosValidators.isVideoInfoHashValid(video.infoHash) && | 91 | videosValidators.isVideoInfoHashValid(video.infoHash) && |