mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +02:00
Server: we don't need the video name when removing a remote video
This commit is contained in:
parent
55fa55a9be
commit
b981a525c3
2 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||||
) ||
|
) ||
|
||||||
(
|
(
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue