From 2fa50bd7de34c04b88fa4de06e13f9c54b8954af Mon Sep 17 00:00:00 2001 From: Kanjana Date: Wed, 30 Apr 2025 15:36:13 +0700 Subject: [PATCH] add value : null in user --- src/controllers/02-user-controller.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/controllers/02-user-controller.ts b/src/controllers/02-user-controller.ts index 2c864e6..1a789ff 100644 --- a/src/controllers/02-user-controller.ts +++ b/src/controllers/02-user-controller.ts @@ -126,8 +126,8 @@ type UserCreate = { remark?: string; agencyStatus?: string; - contactName?: string; - contactTel?: string; + contactName?: string | null; + contactTel?: string | null; }; type UserUpdate = { @@ -188,8 +188,8 @@ type UserUpdate = { remark?: string; agencyStatus?: string; - contactName?: string; - contactTel?: string; + contactName?: string | null; + contactTel?: string | null; }; const permissionCondCompany = createPermCondition((_) => true);