diff options
Diffstat (limited to 'server/lib/job-queue/handlers/video-transcoding.ts')
-rw-r--r-- | server/lib/job-queue/handlers/video-transcoding.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/job-queue/handlers/video-transcoding.ts b/server/lib/job-queue/handlers/video-transcoding.ts index e248b645e..8573d4d12 100644 --- a/server/lib/job-queue/handlers/video-transcoding.ts +++ b/server/lib/job-queue/handlers/video-transcoding.ts | |||
@@ -128,7 +128,7 @@ async function onHlsPlaylistGeneration (video: MVideoFullLight, user: MUser, pay | |||
128 | // Remove webtorrent files if not enabled | 128 | // Remove webtorrent files if not enabled |
129 | for (const file of video.VideoFiles) { | 129 | for (const file of video.VideoFiles) { |
130 | await video.removeFile(file) | 130 | await video.removeFile(file) |
131 | await video.removeTorrent(file) | 131 | await file.removeTorrent() |
132 | await file.destroy() | 132 | await file.destroy() |
133 | } | 133 | } |
134 | 134 | ||