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;