From 47cf8c3d82a90da60b128278f611c7c51d67554f Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Tue, 2 Sep 2025 08:39:43 +0000
Subject: (김준회) vendors.items --> vendorPossibleMaterials 테이블로 공급품목
 관리 책임 변경
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/signup/join-form.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'components/signup/join-form.tsx')

diff --git a/components/signup/join-form.tsx b/components/signup/join-form.tsx
index 4ee05c9b..f81518eb 100644
--- a/components/signup/join-form.tsx
+++ b/components/signup/join-form.tsx
@@ -1071,7 +1071,7 @@ function CompleteVendorForm({
         },
         vendor: {
           ...data,
-          items: JSON.stringify(data.items), // 자재 배열을 JSON 문자열로 변환
+          items: data.items, // 자재 배열을 그대로 전달 (서버에서 vendor_possible_materials 테이블에 저장)
           phone: normalizedVendorPhone,
           representativePhone: normalizedRepresentativePhone,
           contacts: normalizedContacts,
-- 
cgit v1.2.3

