From 8918c8f2d63a48d6bd8986fb6e60874b8b65ebb5 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:22:14 +0700 Subject: [PATCH] fix: missing type --- src/controllers/service/service-controller.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controllers/service/service-controller.ts b/src/controllers/service/service-controller.ts index 9df9f42..594ec8e 100644 --- a/src/controllers/service/service-controller.ts +++ b/src/controllers/service/service-controller.ts @@ -33,6 +33,7 @@ type ServiceCreate = { attributes?: { [key: string]: any; }; + status?: Status; work?: { name: string; productId: string[]; @@ -46,6 +47,7 @@ type ServiceUpdate = { attributes?: { [key: string]: any; }; + status: "ACTIVE" | "INACTIVE"; work?: { name: string; productId: string[];