]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/requests.ts
Relax videos list thumbnail api join
[github/Chocobozzz/PeerTube.git] / server / helpers / requests.ts
index 8dda6c039c4705e032340f7d0cab88e1cb6f0329..2e30c94a1e8ed2e53846bebb0e92c2fad9fc976f 100644 (file)
@@ -52,7 +52,7 @@ async function downloadImage (url: string, destDir: string, destName: string, si
   const destPath = join(destDir, destName)
 
   try {
-    await processImage({ path: tmpPath }, destPath, size)
+    await processImage(tmpPath, destPath, size)
   } catch (err) {
     await remove(tmpPath)