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);