Relax videos list thumbnail api join
This commit is contained in:
parent
b876eaf11a
commit
2fb5b3a55a
6 changed files with 16 additions and 11 deletions
|
@ -105,7 +105,7 @@ async function generateImageFromVideoFile (fromPath: string, folder: string, ima
|
|||
})
|
||||
|
||||
const destination = join(folder, imageName)
|
||||
await processImage({ path: pendingImagePath }, destination, size)
|
||||
await processImage(pendingImagePath, destination, size)
|
||||
} catch (err) {
|
||||
logger.error('Cannot generate image from video %s.', fromPath, { err })
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue