From 4342285507b155e340d2bad67acc4929b17521fb Mon Sep 17 00:00:00 2001 From: Deepesh Bhardwaj <70226498+deepesh16b@users.noreply.github.com> Date: Tue, 4 Oct 2022 20:16:06 +0530 Subject: [PATCH] Updated jpeg thumbnail path (#780) --- server/apps/microservices/src/processors/thumbnail.processor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/apps/microservices/src/processors/thumbnail.processor.ts b/server/apps/microservices/src/processors/thumbnail.processor.ts index eb368f1a82..130aa6c1ad 100644 --- a/server/apps/microservices/src/processors/thumbnail.processor.ts +++ b/server/apps/microservices/src/processors/thumbnail.processor.ts @@ -62,7 +62,7 @@ export class ThumbnailGeneratorProcessor { const temp = asset.originalPath.split('/'); const originalFilename = temp[temp.length - 1].split('.')[0]; - const jpegThumbnailPath = resizePath + originalFilename + '.jpeg'; + const jpegThumbnailPath = join(resizePath, `${originalFilename}.jpeg`); if (asset.type == AssetType.IMAGE) { try {