diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/helpers/custom-validators/remote/videos.js | 1 | ||||
-rw-r--r-- | server/models/video.js | 1 |
2 files changed, 0 insertions, 2 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 | ( |
diff --git a/server/models/video.js b/server/models/video.js index 4c197a835..b3060705d 100644 --- a/server/models/video.js +++ b/server/models/video.js | |||
@@ -218,7 +218,6 @@ function afterDestroy (video, options, next) { | |||
218 | 218 | ||
219 | function (callback) { | 219 | function (callback) { |
220 | const params = { | 220 | const params = { |
221 | name: video.name, | ||
222 | remoteId: video.id | 221 | remoteId: video.id |
223 | } | 222 | } |
224 | 223 | ||