From e6824716a1273738a97d99051d8107609ef45360 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Mon, 8 Jul 2024 17:46:17 +0700 Subject: [PATCH] =?UTF-8?q?refactor:=20=E0=B8=94=E0=B8=B1=E0=B8=81?= =?UTF-8?q?=E0=B9=84=E0=B8=A1=E0=B9=88=E0=B9=83=E0=B8=AB=E0=B9=89=E0=B8=AA?= =?UTF-8?q?=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/employee/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/employee/index.ts b/src/stores/employee/index.ts index 471a9db1..6b77a8c4 100644 --- a/src/stores/employee/index.ts +++ b/src/stores/employee/index.ts @@ -104,7 +104,7 @@ const useEmployeeStore = defineStore('api-employee', () => { transactionId?: string; }, ) { - const { image, ...payload } = data; + const { code , image, ...payload } = data; const res = await api.put< Employee & { imageUrl: string; profileImageUploadUrl: string } >(`/employee/${id}`, payload, {