From ce9f5d89ac6a2fa480170d7e54cbc14fa0e3dfc6 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Tue, 11 Jun 2024 16:13:43 +0700 Subject: [PATCH] fix: input validation --- src/controllers/employee-controller.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/employee-controller.ts b/src/controllers/employee-controller.ts index e24969a..ed46e4e 100644 --- a/src/controllers/employee-controller.ts +++ b/src/controllers/employee-controller.ts @@ -101,14 +101,15 @@ type EmployeeCreate = { citizenId?: string | null; fatherFirstName?: string | null; fatherLastName?: string | null; + fatherBirthPlace?: string | null; motherFirstName?: string | null; motherLastName?: string | null; + motherBirthPlace?: string | null; fatherFirstNameEN?: string | null; fatherLastNameEN?: string | null; motherFirstNameEN?: string | null; motherLastNameEN?: string | null; - birthPlace?: string | null; }; };