fix(profile): change update method from PATCH to PUT for profile updates

This commit is contained in:
Nati
2026-08-17 07:45:22 +00:00
parent ef3a59e617
commit ad9b14d716
2 changed files with 2 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ const profileApi = baseApi
unknown,
{ id: string; body: Record<string, unknown> }
>({
query: ({ id, body }) => ({ url: `/profiles/${id}`, method: 'PATCH', body }),
query: ({ id, body }) => ({ url: `/profiles/${id}`, method: 'PUT', body }),
invalidatesTags: ['CurrentProfile'],
}),
updateMyAddress: builder.mutation<