From bf5d72a43da2a0d751703b063bb81d6d50c548a4 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:17:17 +0700 Subject: [PATCH] fix: make optional --- src/controllers/service/service-controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/service/service-controller.ts b/src/controllers/service/service-controller.ts index 70ea3bf..9df9f42 100644 --- a/src/controllers/service/service-controller.ts +++ b/src/controllers/service/service-controller.ts @@ -41,8 +41,8 @@ type ServiceCreate = { }; type ServiceUpdate = { - name: string; - detail: string; + name?: string; + detail?: string; attributes?: { [key: string]: any; };