From 030aa687e1f3f48fcea9b40089b7ff5a8983a746 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Fri, 19 Apr 2024 09:28:17 +0700 Subject: [PATCH] feat: change to some field to optional --- src/controllers/branch-controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/branch-controller.ts b/src/controllers/branch-controller.ts index 0c6f994..d9dcda9 100644 --- a/src/controllers/branch-controller.ts +++ b/src/controllers/branch-controller.ts @@ -35,10 +35,10 @@ type BranchCreate = { address: string; zipCode: string; email: string; - contactName: string; + contactName?: string | null; contact: string | string[]; telephoneNo: string; - lineId: string; + lineId?: string | null; longitude: string; latitude: string;