Fix preview generation for imports

This commit is contained in:
Chocobozzz 2022-10-31 14:29:48 +01:00
parent eaa5dc3161
commit 5fc4a1825c
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -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()