diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-01-04 21:15:57 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-01-04 21:15:57 +0100 |
commit | b981a525c37d226b3fa59287a6ce338f54583d0c (patch) | |
tree | 5e97fd8a07b8f8018d87572523a1843c27ab991d /server/helpers/custom-validators | |
parent | 55fa55a9be566cca2ba95322f2ae23b434aed62a (diff) | |
download | PeerTube-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.js | 1 |
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 | ( |