refactor: ดักไม่ให้ส่ง code
This commit is contained in:
parent
98bb78a69b
commit
e6824716a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue