From 2fb5b3a55aeebcc77f4b3a0c029bbf0738ef0063 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 Apr 2019 09:56:25 +0200 Subject: Relax videos list thumbnail api join --- server/helpers/requests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/helpers/requests.ts') diff --git a/server/helpers/requests.ts b/server/helpers/requests.ts index 8dda6c039..2e30c94a1 100644 --- a/server/helpers/requests.ts +++ b/server/helpers/requests.ts @@ -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) -- cgit v1.2.3