Fix preview generation for imports
This commit is contained in:
parent
eaa5dc3161
commit
5fc4a1825c
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue