aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/job-queue/handlers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-07 17:18:35 +0200
committerChocobozzz <me@florianbigard.com>2018-08-08 09:30:31 +0200
commit541006e355c927a866d58cced016f48e139670d5 (patch)
tree78a658dfc8cb1e552ee0204c824358d988c49297 /server/lib/job-queue/handlers
parent3e17515e2996b79e23f569c296051a91af3fcbe4 (diff)
downloadPeerTube-541006e355c927a866d58cced016f48e139670d5.tar.gz
PeerTube-541006e355c927a866d58cced016f48e139670d5.tar.zst
PeerTube-541006e355c927a866d58cced016f48e139670d5.zip
Correct webtorrent download cleanup
Diffstat (limited to 'server/lib/job-queue/handlers')
-rw-r--r--server/lib/job-queue/handlers/video-import.ts2
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