From fd3366262f64aefd2cd97f7149d3c9ffc1f39709 Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Fri, 18 Oct 2024 14:04:55 +0700 Subject: [PATCH] fix: make remark accept null --- src/controllers/05-quotation-controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/05-quotation-controller.ts b/src/controllers/05-quotation-controller.ts index 66765b7..ef7248d 100644 --- a/src/controllers/05-quotation-controller.ts +++ b/src/controllers/05-quotation-controller.ts @@ -28,7 +28,7 @@ import { precisionRound } from "../utils/arithmetic"; type QuotationCreate = { registeredBranchId: string; status?: Status; - remark?: string; + remark?: string | null; workName: string; contactName: string; @@ -80,7 +80,7 @@ type QuotationCreate = { type QuotationUpdate = { registeredBranchId?: string; status?: "ACTIVE" | "INACTIVE"; - remark?: string; + remark?: string | null; workName?: string; contactName?: string;