From dbdae213e39b82ff8ee565df0774bd2f72f06140 Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Fri, 22 Aug 2025 03:11:57 +0000 Subject: (김준회) 로그인 에러 토스트 메시지 개선, 중공업 유저의 협력사 유저 추가/수정시 전화번호 사용 반영 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/vendor-users/service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/vendor-users') diff --git a/lib/vendor-users/service.ts b/lib/vendor-users/service.ts index 428e8b73..c6d07d3f 100644 --- a/lib/vendor-users/service.ts +++ b/lib/vendor-users/service.ts @@ -242,7 +242,7 @@ export async function getUserCountGroupByRoleAndVendor() { /** * 단건 업데이트 */ -export async function modifiVendorUser(input: UpdateVendorUserSchema & { id: number } & { language?: string }) { +export async function modifiVendorUser(input: UpdateVendorUserSchema & { id: number } & { language?: string; phone?: string }) { unstable_noStore(); try { @@ -271,6 +271,7 @@ export async function modifiVendorUser(input: UpdateVendorUserSchema & { id: num const [res] = await updateUser(tx, input.id, { name: input.name, email: input.email, + phone: input.phone, // 전화번호 필드 추가 }); // 2) roles 업데이트 (같은 회사 내에서만) -- cgit v1.2.3