refactor:
I don't send id and statusSave on Create
This commit is contained in:
parent
811baa3ddc
commit
23d2ade763
1 changed files with 1 additions and 1 deletions
|
|
@ -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 & {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue