Server: we don't need the video name when removing a remote video

pull/30/head
Chocobozzz 2017-01-04 21:15:57 +01:00
parent 55fa55a9be
commit b981a525c3
2 changed files with 0 additions and 2 deletions

View File

@ -39,7 +39,6 @@ function isEachRemoteRequestVideosValid (requests) {
) || ) ||
( (
isRequestTypeRemoveValid(request.type) && isRequestTypeRemoveValid(request.type) &&
videosValidators.isVideoNameValid(video.name) &&
videosValidators.isVideoRemoteIdValid(video.remoteId) videosValidators.isVideoRemoteIdValid(video.remoteId)
) || ) ||
( (

View File

@ -218,7 +218,6 @@ function afterDestroy (video, options, next) {
function (callback) { function (callback) {
const params = { const params = {
name: video.name,
remoteId: video.id remoteId: video.id
} }