diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-07 17:18:35 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-08 09:30:31 +0200 |
commit | 541006e355c927a866d58cced016f48e139670d5 (patch) | |
tree | 78a658dfc8cb1e552ee0204c824358d988c49297 /server/lib/job-queue | |
parent | 3e17515e2996b79e23f569c296051a91af3fcbe4 (diff) | |
download | PeerTube-541006e355c927a866d58cced016f48e139670d5.tar.gz PeerTube-541006e355c927a866d58cced016f48e139670d5.tar.zst PeerTube-541006e355c927a866d58cced016f48e139670d5.zip |
Correct webtorrent download cleanup
Diffstat (limited to 'server/lib/job-queue')
-rw-r--r-- | server/lib/job-queue/handlers/video-import.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/job-queue/handlers/video-import.ts b/server/lib/job-queue/handlers/video-import.ts index 2d19b82a4..d6984ef92 100644 --- a/server/lib/job-queue/handlers/video-import.ts +++ b/server/lib/job-queue/handlers/video-import.ts | |||
@@ -190,7 +190,7 @@ async function processFile (downloader: () => Promise<string>, videoImport: Vide | |||
190 | videoImport.state = VideoImportState.SUCCESS | 190 | videoImport.state = VideoImportState.SUCCESS |
191 | const videoImportUpdated = await videoImport.save({ transaction: t }) | 191 | const videoImportUpdated = await videoImport.save({ transaction: t }) |
192 | 192 | ||
193 | logger.info('Video %s imported.', videoImport.targetUrl) | 193 | logger.info('Video %s imported.', video.uuid) |
194 | 194 | ||
195 | videoImportUpdated.Video = videoUpdated | 195 | videoImportUpdated.Video = videoUpdated |
196 | return videoImportUpdated | 196 | return videoImportUpdated |