diff options
| author | joonhoekim <26rote@gmail.com> | 2025-08-22 03:11:57 +0000 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-08-22 03:11:57 +0000 |
| commit | dbdae213e39b82ff8ee565df0774bd2f72f06140 (patch) | |
| tree | 37ff13e5784426328c40408e960699af554aeb24 /lib/vendor-users | |
| parent | 01296fafda2b52339727ca445de39c6ccb3ba03d (diff) | |
(김준회) 로그인 에러 토스트 메시지 개선, 중공업 유저의 협력사 유저 추가/수정시 전화번호 사용 반영
Diffstat (limited to 'lib/vendor-users')
| -rw-r--r-- | lib/vendor-users/service.ts | 3 |
1 files changed, 2 insertions, 1 deletions
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 업데이트 (같은 회사 내에서만) |
