aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/custom-validators
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-01-04 21:15:57 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-01-04 21:15:57 +0100
commitb981a525c37d226b3fa59287a6ce338f54583d0c (patch)
tree5e97fd8a07b8f8018d87572523a1843c27ab991d /server/helpers/custom-validators
parent55fa55a9be566cca2ba95322f2ae23b434aed62a (diff)
downloadPeerTube-b981a525c37d226b3fa59287a6ce338f54583d0c.tar.gz
PeerTube-b981a525c37d226b3fa59287a6ce338f54583d0c.tar.zst
PeerTube-b981a525c37d226b3fa59287a6ce338f54583d0c.zip
Server: we don't need the video name when removing a remote video
Diffstat (limited to 'server/helpers/custom-validators')
-rw-r--r--server/helpers/custom-validators/remote/videos.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/helpers/custom-validators/remote/videos.js b/server/helpers/custom-validators/remote/videos.js
index c3ca00e1c..7c27b9dbb 100644
--- a/server/helpers/custom-validators/remote/videos.js
+++ b/server/helpers/custom-validators/remote/videos.js
@@ -39,7 +39,6 @@ function isEachRemoteRequestVideosValid (requests) {
39 ) || 39 ) ||
40 ( 40 (
41 isRequestTypeRemoveValid(request.type) && 41 isRequestTypeRemoveValid(request.type) &&
42 videosValidators.isVideoNameValid(video.name) &&
43 videosValidators.isVideoRemoteIdValid(video.remoteId) 42 videosValidators.isVideoRemoteIdValid(video.remoteId)
44 ) || 43 ) ||
45 ( 44 (