aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/custom-validators/remote
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-04-07 12:13:37 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-04-07 12:13:37 +0200
commit3092476e64d09b449b4ad4f5198024afec1b22ca (patch)
treef2d2bd33578e122188cd2297f60e12813bffdbb7 /server/helpers/custom-validators/remote
parent023553a2bde74c5765b5ea679fc04128c27f18a0 (diff)
downloadPeerTube-3092476e64d09b449b4ad4f5198024afec1b22ca.tar.gz
PeerTube-3092476e64d09b449b4ad4f5198024afec1b22ca.tar.zst
PeerTube-3092476e64d09b449b4ad4f5198024afec1b22ca.zip
Server: add video language attribute
Diffstat (limited to 'server/helpers/custom-validators/remote')
-rw-r--r--server/helpers/custom-validators/remote/videos.js1
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 df8f8a22e..24715b4b3 100644
--- a/server/helpers/custom-validators/remote/videos.js
+++ b/server/helpers/custom-validators/remote/videos.js
@@ -87,6 +87,7 @@ function isCommonVideoAttributesValid (video) {
87 videosValidators.isVideoDateValid(video.updatedAt) && 87 videosValidators.isVideoDateValid(video.updatedAt) &&
88 videosValidators.isVideoCategoryValid(video.category) && 88 videosValidators.isVideoCategoryValid(video.category) &&
89 videosValidators.isVideoLicenceValid(video.licence) && 89 videosValidators.isVideoLicenceValid(video.licence) &&
90 videosValidators.isVideoLanguageValid(video.language) &&
90 videosValidators.isVideoNSFWValid(video.nsfw) && 91 videosValidators.isVideoNSFWValid(video.nsfw) &&
91 videosValidators.isVideoDescriptionValid(video.description) && 92 videosValidators.isVideoDescriptionValid(video.description) &&
92 videosValidators.isVideoDurationValid(video.duration) && 93 videosValidators.isVideoDurationValid(video.duration) &&