From ab4ea4ba4b7fce3a354f422dd26b153233cbff04 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Wed, 17 Sep 2025 11:55:06 +0700 Subject: [PATCH] fix: type error --- src/services/flowaccount.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/flowaccount.ts b/src/services/flowaccount.ts index c7d0f4c..9450b02 100644 --- a/src/services/flowaccount.ts +++ b/src/services/flowaccount.ts @@ -312,7 +312,7 @@ const flowAccount = { ] .filter(Boolean) .join(" "), - contactTaxId: customer.citizenId || customer.legalPersonNo, + contactTaxId: customer.citizenId || customer.legalPersonNo || "-", contactBranch: (customer.customer.customerType === CustomerType.PERS ? [customer.firstName, customer.lastName].join(" ").trim()