diff --git a/src/stores/customer/index.ts b/src/stores/customer/index.ts index dd3f0bc2..0817965f 100644 --- a/src/stores/customer/index.ts +++ b/src/stores/customer/index.ts @@ -307,7 +307,7 @@ const useCustomerStore = defineStore('api-customer', () => { transactionId?: string; }, ) { - const { code, ...playload } = data; + const { id, statusSave , code, ...playload } = data; const res = await api.post< Customer & {