aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/custom-validators/remote
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-30 10:16:27 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-10-30 10:16:27 +0100
commit9567011bf01f36c7f796ac1e0f1fb12c71635e53 (patch)
treebec3ed173767cff031ed0a84231d6dd50e792569 /server/helpers/custom-validators/remote
parent757f0da370a992cf07afd20d3829b2748c76cc15 (diff)
downloadPeerTube-9567011bf01f36c7f796ac1e0f1fb12c71635e53.tar.gz
PeerTube-9567011bf01f36c7f796ac1e0f1fb12c71635e53.tar.zst
PeerTube-9567011bf01f36c7f796ac1e0f1fb12c71635e53.zip
Add lazy description on server
Diffstat (limited to 'server/helpers/custom-validators/remote')
-rw-r--r--server/helpers/custom-validators/remote/videos.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/helpers/custom-validators/remote/videos.ts b/server/helpers/custom-validators/remote/videos.ts
index a9ca36fe8..e0ffba679 100644
--- a/server/helpers/custom-validators/remote/videos.ts
+++ b/server/helpers/custom-validators/remote/videos.ts
@@ -19,7 +19,7 @@ import {
19 isRemoteVideoLicenceValid, 19 isRemoteVideoLicenceValid,
20 isRemoteVideoLanguageValid, 20 isRemoteVideoLanguageValid,
21 isVideoNSFWValid, 21 isVideoNSFWValid,
22 isVideoDescriptionValid, 22 isVideoTruncatedDescriptionValid,
23 isVideoDurationValid, 23 isVideoDurationValid,
24 isVideoFileInfoHashValid, 24 isVideoFileInfoHashValid,
25 isVideoNameValid, 25 isVideoNameValid,
@@ -112,7 +112,7 @@ function isCommonVideoAttributesValid (video: any) {
112 isRemoteVideoLicenceValid(video.licence) && 112 isRemoteVideoLicenceValid(video.licence) &&
113 isRemoteVideoLanguageValid(video.language) && 113 isRemoteVideoLanguageValid(video.language) &&
114 isVideoNSFWValid(video.nsfw) && 114 isVideoNSFWValid(video.nsfw) &&
115 isVideoDescriptionValid(video.description) && 115 isVideoTruncatedDescriptionValid(video.truncatedDescription) &&
116 isVideoDurationValid(video.duration) && 116 isVideoDurationValid(video.duration) &&
117 isVideoNameValid(video.name) && 117 isVideoNameValid(video.name) &&
118 isVideoTagsValid(video.tags) && 118 isVideoTagsValid(video.tags) &&