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 56f04b7 commit 951856eCopy full SHA for 951856e
src/lib/seam/connect/seam-http-request.ts
@@ -55,10 +55,13 @@ export class SeamHttpRequest<
55
if (params === undefined) {
56
return new URL(this.#config.path, baseUrl)
57
}
58
- return new URL(
59
- `${this.#config.path}?${serializeUrlSearchParams(params)}`,
60
- baseUrl,
61
- )
+
+ const serializer =
+ typeof client.defaults.paramsSerializer === 'function'
+ ? client.defaults.paramsSerializer
62
+ : serializeUrlSearchParams
63
64
+ return new URL(`${this.#config.path}?${serializer(params)}`, baseUrl)
65
66
67
public get method(): Method {
0 commit comments