From d970486348bbaa31b5006cf5659a1feb7e46d260 Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Tue, 3 Sep 2024 14:07:30 +0700 Subject: [PATCH] fix: type --- src/controllers/product/product-controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/product/product-controller.ts b/src/controllers/product/product-controller.ts index 48db17b..3011810 100644 --- a/src/controllers/product/product-controller.ts +++ b/src/controllers/product/product-controller.ts @@ -59,7 +59,7 @@ type ProductCreate = { agentPrice: number; serviceCharge: number; vatIncluded?: boolean; - expenseType?: number; + expenseType?: string; productGroupId: string; remark?: string; @@ -76,7 +76,7 @@ type ProductUpdate = { serviceCharge?: number; remark?: string; vatIncluded?: boolean; - expenseType?: number; + expenseType?: string; productGroupId?: string; registeredBranchId?: string;