From 5fc4a1825ca907e5fe8f8e7ca2493d9b613a9787 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 31 Oct 2022 14:29:48 +0100 Subject: Fix preview generation for imports --- server/lib/job-queue/handlers/video-import.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/lib') 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 const miniatureModel = await generateVideoMiniature({ video: videoImportWithFiles.Video, videoFile, - type: ThumbnailType.MINIATURE + type: thumbnailType }) const miniatureJSONSave = miniatureModel.toJSON() -- cgit v1.2.3