aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-10-31 14:29:48 +0100
committerChocobozzz <me@florianbigard.com>2022-10-31 14:29:48 +0100
commit5fc4a1825ca907e5fe8f8e7ca2493d9b613a9787 (patch)
treed68fc46e6fb722d78fe55389bae9af1259a93662 /server/lib
parenteaa5dc3161569012188f5ce87099f00e6d0462d5 (diff)
downloadPeerTube-5fc4a1825ca907e5fe8f8e7ca2493d9b613a9787.tar.gz
PeerTube-5fc4a1825ca907e5fe8f8e7ca2493d9b613a9787.tar.zst
PeerTube-5fc4a1825ca907e5fe8f8e7ca2493d9b613a9787.zip
Fix preview generation for imports
Diffstat (limited to 'server/lib')
-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 99016f511..83d582cb4 100644
--- a/server/lib/job-queue/handlers/video-import.ts
+++ b/server/lib/job-queue/handlers/video-import.ts
@@ -277,7 +277,7 @@ async function generateMiniature (videoImportWithFiles: MVideoImportDefaultFiles
277 const miniatureModel = await generateVideoMiniature({ 277 const miniatureModel = await generateVideoMiniature({
278 video: videoImportWithFiles.Video, 278 video: videoImportWithFiles.Video,
279 videoFile, 279 videoFile,
280 type: ThumbnailType.MINIATURE 280 type: thumbnailType
281 }) 281 })
282 const miniatureJSONSave = miniatureModel.toJSON() 282 const miniatureJSONSave = miniatureModel.toJSON()
283 283