From ce42a6dca6a3c1d03df678330256e13008b31db7 Mon Sep 17 00:00:00 2001 From: Kanjana Date: Mon, 28 Apr 2025 13:43:20 +0700 Subject: [PATCH] add null otherNationality --- src/controllers/03-employee-controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/03-employee-controller.ts b/src/controllers/03-employee-controller.ts index 03ab1cc..95addd7 100644 --- a/src/controllers/03-employee-controller.ts +++ b/src/controllers/03-employee-controller.ts @@ -74,7 +74,7 @@ type EmployeeCreate = { dateOfBirth?: Date | null; gender: string; nationality: string; - otherNationality?: string; + otherNationality?: string | null; namePrefix?: string | null; firstName?: string; @@ -111,7 +111,7 @@ type EmployeeUpdate = { dateOfBirth?: Date; gender?: string; nationality?: string; - otherNationality?: string; + otherNationality?: string | null; namePrefix?: string | null; firstName?: string;