From c0794808f03cd8db22c482fc3d509bf2a9baa2fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20S=C3=A1nchez?= Date: Thu, 13 Aug 2020 13:09:53 +0200 Subject: [PATCH] Updated tmp directory --- modules/item/back/methods/item-image-queue/downloadImages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/item/back/methods/item-image-queue/downloadImages.js b/modules/item/back/methods/item-image-queue/downloadImages.js index c7054b340..2e32a57b8 100644 --- a/modules/item/back/methods/item-image-queue/downloadImages.js +++ b/modules/item/back/methods/item-image-queue/downloadImages.js @@ -21,7 +21,7 @@ module.exports = Self => { try { const imageQueue = await Self.find({where: {error: null}}); - const tempPath = path.join('/temp/salix-image'); + const tempPath = path.join('/tmp/salix-image'); // Create temporary path await fs.mkdir(tempPath, {recursive: true});