diff --git a/src/stores/user/index.ts b/src/stores/user/index.ts index 12c61ded..f25829ff 100644 --- a/src/stores/user/index.ts +++ b/src/stores/user/index.ts @@ -372,7 +372,9 @@ const useUserStore = defineStore('api-user', () => { transactionId?: string; }, ) { - const res = await api.put(`/user/${id}`, data, { + const { zipCode, ...paylond } = data; + + const res = await api.put(`/user/${id}`, paylond, { headers: { 'X-Session-Id': flow?.sessionId, 'X-Rtid': flow?.refTransactionId || flowStore.rtid,