From e58141b864f2927b65b82129c9e994dbf8b7208b Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Tue, 2 Apr 2024 14:08:07 +0700 Subject: [PATCH] fix: missing type --- src/controllers/branch/contact-controller.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/controllers/branch/contact-controller.ts b/src/controllers/branch/contact-controller.ts index 3f22d75..a1bcb3d 100644 --- a/src/controllers/branch/contact-controller.ts +++ b/src/controllers/branch/contact-controller.ts @@ -25,6 +25,16 @@ if (!process.env.MINIO_BUCKET) { const MINIO_BUCKET = process.env.MINIO_BUCKET; +type BranchContactCreate = { + lineId: string; + telephoneNo: string; +}; + +type BranchContactUpdate = { + lineId?: string; + telephoneNo?: string; +}; + function imageLocation(id: string) { return `branch/contact-${id}`; }