diff options
| author | joonhoekim <26rote@gmail.com> | 2025-09-16 00:21:06 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-09-16 00:21:06 +0900 |
| commit | 14e3990aba7e1ad1cdd0965cbd167c50230cbfbf (patch) | |
| tree | 37251a7c9bb7e163f7660e53cfc795645e25b59b /lib/rfq-last/service.ts | |
| parent | 7b0c7c8e56fb027c729c953b0b87dab72156f661 (diff) | |
(김준회) 빌드오류 수정
- surround pdffViewer with suspense
- 안쓰는 b-rfq export 충돌 처리
- 삼항연산자 ? 빠진 것 처리
Diffstat (limited to 'lib/rfq-last/service.ts')
| -rw-r--r-- | lib/rfq-last/service.ts | 19 |
1 files changed, 9 insertions, 10 deletions
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({ |
