mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Server: we don't need the video name when removing a remote video
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user