From a3207ea0269e2173221d4ddbb1458a18f55c8d15 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Wed, 19 Jun 2024 14:10:31 +0700 Subject: [PATCH] feat: make field optional --- src/controllers/customer-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/customer-controller.ts b/src/controllers/customer-controller.ts index bb459c7..c421f95 100644 --- a/src/controllers/customer-controller.ts +++ b/src/controllers/customer-controller.ts @@ -69,7 +69,7 @@ export type CustomerCreate = { export type CustomerUpdate = { status?: "ACTIVE" | "INACTIVE"; - personName: string; + personName?: string; personNameEN?: string; customerType?: CustomerType; customerName?: string;