summaryrefslogtreecommitdiff
path: root/lib/vendor-investigation/service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vendor-investigation/service.ts')
-rw-r--r--lib/vendor-investigation/service.ts3
1 files changed, 3 insertions, 0 deletions
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)