diff --git a/src/stores/customer/index.ts b/src/stores/customer/index.ts index 539a1fc5..d5bd5708 100644 --- a/src/stores/customer/index.ts +++ b/src/stores/customer/index.ts @@ -385,15 +385,7 @@ const useCustomerStore = defineStore('api-customer', () => { if (!data.birthDate) delete data['birthDate']; if (!data.registerDate) delete data['registerDate']; - const { - codeCustomer, - statusSave, - code, - file, - birthDate, - citizen, - ...payload - } = data; + const { code, file, birthDate, citizen, ...payload } = data; const res = await api.post('/customer-branch', payload); if (!res) return false;