Skip to content

Commit 1f1164b

Browse files
authored
Finish sentence about URLSearchParams (#1637)
1 parent 24179aa commit 1f1164b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rtk-query/api/fetchBaseQuery.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ By default, `fetchBaseQuery` assumes that every request you make will be `json`,
156156
157157
### Setting the query string
158158
159-
`fetchBaseQuery` provides a simple mechanism that converts an `object` to a serialized query string by passing the object. If this doesn't suit your needs, you have two options:
159+
`fetchBaseQuery` provides a simple mechanism that converts an `object` to a serialized query string by passing the object to `new URLSearchParms()`. If this doesn't suit your needs, you have two options:
160160
161161
1. Pass the `paramsSerializer` option to `fetchBaseQuery` to apply custom transformations
162162
2. Build your own querystring and set it in the `url`

0 commit comments

Comments
 (0)