From 14e3990aba7e1ad1cdd0965cbd167c50230cbfbf Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Tue, 16 Sep 2025 00:21:06 +0900 Subject: (김준회) 빌드오류 수정 - surround pdffViewer with suspense - 안쓰는 b-rfq export 충돌 처리 - 삼항연산자 ? 빠진 것 처리 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/rfq-last/service.ts | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'lib') diff --git a/lib/rfq-last/service.ts b/lib/rfq-last/service.ts index 02429b6a..433f4376 100644 --- a/lib/rfq-last/service.ts +++ b/lib/rfq-last/service.ts @@ -2987,16 +2987,15 @@ async function prepareEmailAttachments(rfqId: number, attachmentIds: number[]) { const isProduction = process.env.NODE_ENV === "production"; const fullPath = isProduction - - path.join( - process.cwd(), - `public`, - revision.filePath - ) - : path.join( - `${process.env.NAS_PATH}`, - revision.filePath - ); + ? path.join( + process.cwd(), + `public`, + revision.filePath + ) + : path.join( + `${process.env.NAS_PATH}`, + revision.filePath + ); const fileBuffer = await fs.readFile(fullPath); emailAttachments.push({ -- cgit v1.2.3