Skip to content

Commit 4a62b95

Browse files
committed
Pass paramsSerializer
1 parent 5555014 commit 4a62b95

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/seam/connect/axios.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export const createAxiosClient = (
1515
return axios.create({
1616
baseURL: options.endpoint,
1717
withCredentials: isSeamHttpOptionsWithClientSessionToken(options),
18+
...(paramsSerializer != null ? { paramsSerializer } : {}),
1819
...options.axiosOptions,
1920
headers: {
2021
...getAuthHeaders(options),
@@ -23,3 +24,5 @@ export const createAxiosClient = (
2324
},
2425
})
2526
}
27+
28+
const paramsSerializer = axios.defaults.paramsSerializer

0 commit comments

Comments
 (0)