We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a62b95 commit 0e67fb5Copy full SHA for 0e67fb5
src/lib/seam/connect/axios.ts
@@ -15,7 +15,7 @@ export const createAxiosClient = (
15
return axios.create({
16
baseURL: options.endpoint,
17
withCredentials: isSeamHttpOptionsWithClientSessionToken(options),
18
- ...(paramsSerializer != null ? { paramsSerializer } : {}),
+ paramsSerializer: (params) => new URLSearchParams(params).toString(),
19
...options.axiosOptions,
20
headers: {
21
...getAuthHeaders(options),
@@ -24,5 +24,3 @@ export const createAxiosClient = (
24
},
25
})
26
}
27
-
28
-const paramsSerializer = axios.defaults.paramsSerializer
0 commit comments