aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/requests.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/requests.ts')
-rw-r--r--server/helpers/requests.ts2
1 files changed, 1 insertions, 1 deletions
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
52 const destPath = join(destDir, destName) 52 const destPath = join(destDir, destName)
53 53
54 try { 54 try {
55 await processImage({ path: tmpPath }, destPath, size) 55 await processImage(tmpPath, destPath, size)
56 } catch (err) { 56 } catch (err) {
57 await remove(tmpPath) 57 await remove(tmpPath)
58 58