From 6eea4aea2b40e05daa54ddab4456321a135ae5f8 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Fri, 21 Jun 2024 11:39:11 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=83?= =?UTF-8?q?=E0=B8=AB=E0=B9=89=E0=B8=AA=E0=B9=88=E0=B8=87=20=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/product-service/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/product-service/index.ts b/src/stores/product-service/index.ts index 31ca85ab..4d436887 100644 --- a/src/stores/product-service/index.ts +++ b/src/stores/product-service/index.ts @@ -422,7 +422,7 @@ const useProductServiceStore = defineStore('api-product-service', () => { } async function createService(data: ServiceCreate) { - const { code, ...payload } = data; + const { ...payload } = data; const res = await api.post('/service', { ...payload,