You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param {string} jsonContentType Used when automatically setting the content-type header for a request with a jsonifiable body that does not have an explicit content-type header. Defaults to `application/json`.
180
185
*
186
+
* @param {(this: any, key: string, value: any) => any} jsonReplacer Custom replacer function used when calling `JSON.stringify()`.
187
+
*
181
188
* @param {number} timeout
182
189
* A number in milliseconds that represents the maximum time a request can take before timing out.
183
190
*/
@@ -188,6 +195,7 @@ export function fetchBaseQuery({
188
195
paramsSerializer,
189
196
isJsonContentType =defaultIsJsonContentType,
190
197
jsonContentType ='application/json',
198
+
jsonReplacer,
191
199
timeout: defaultTimeout,
192
200
validateStatus: globalValidateStatus,
193
201
...baseFetchOptions
@@ -247,7 +255,7 @@ export function fetchBaseQuery({
0 commit comments