From 5233996e9bd676ce763a12e58c7955c7ca8f26c5 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Fri, 5 Dec 2025 06:39:23 +0000 Subject: (임수민) 실사 결과 첨부파일 수정 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/vendor-investigation/service.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/vendor-investigation/service.ts') diff --git a/lib/vendor-investigation/service.ts b/lib/vendor-investigation/service.ts index cf37ad06..5e53d0dd 100644 --- a/lib/vendor-investigation/service.ts +++ b/lib/vendor-investigation/service.ts @@ -339,6 +339,9 @@ export async function updateVendorInvestigationResultAction(formData: FormData) processedEntries.investigationNotes = textEntries.investigationNotes } + // attachments는 별도로 업로드되므로 빈 배열로 설정 + processedEntries.attachments = [] + // 3) Zod로 파싱/검증 const parsed = updateVendorInvestigationResultSchema.parse(processedEntries) -- cgit v1.2.3