Server: we don't need the video name when removing a remote video
This commit is contained in:
parent
55fa55a9be
commit
b981a525c3
|
@ -39,7 +39,6 @@ function isEachRemoteRequestVideosValid (requests) {
|
|||
) ||
|
||||
(
|
||||
isRequestTypeRemoveValid(request.type) &&
|
||||
videosValidators.isVideoNameValid(video.name) &&
|
||||
videosValidators.isVideoRemoteIdValid(video.remoteId)
|
||||
) ||
|
||||
(
|
||||
|
|
|
@ -218,7 +218,6 @@ function afterDestroy (video, options, next) {
|
|||
|
||||
function (callback) {
|
||||
const params = {
|
||||
name: video.name,
|
||||
remoteId: video.id
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue