From 748451240ac1e09a70b564e540b61ab7576fb426 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Tue, 9 Apr 2024 15:43:21 +0700 Subject: [PATCH] fix: update type should not require customerType --- 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 028e812..51eb4e4 100644 --- a/src/controllers/customer-controller.ts +++ b/src/controllers/customer-controller.ts @@ -34,7 +34,7 @@ export type CustomerCreate = { export type CustomerUpdate = { status?: "ACTIVE" | "INACTIVE"; - customerType: CustomerType; + customerType?: CustomerType; customerName?: string; customerNameEN?: string; };