Relax videos list thumbnail api join

This commit is contained in:
Chocobozzz 2019-04-24 09:56:25 +02:00
parent b876eaf11a
commit 2fb5b3a55a
No known key found for this signature in database
GPG key ID: 583A612D890159BE
6 changed files with 16 additions and 11 deletions

View file

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