diff options
| author | joonhoekim <26rote@gmail.com> | 2025-12-08 14:19:37 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-12-08 14:19:37 +0900 |
| commit | 2ac7deb8494cf4123f0cff3321860585a44f157c (patch) | |
| tree | 789b6980c8f863a0f675fad38c4a17d91ba28bf3 /lib/vendor-investigation/service.ts | |
| parent | 71c0ba1f01b98770ec2c60cdb935ffb36c1830a9 (diff) | |
| parent | e37cce51ccfa3dcb91904b2492df3a29970fadf7 (diff) | |
Merge remote-tracking branch 'origin/sec-patch' into table-v2
Diffstat (limited to 'lib/vendor-investigation/service.ts')
| -rw-r--r-- | lib/vendor-investigation/service.ts | 3 |
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) |
