mirror of https://github.com/Chocobozzz/PeerTube
Fix preview generation for imports
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