Skip to content

Commit

Permalink
Remove Request.clone() use
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-vukov authored Sep 13, 2023
1 parent f63b862 commit fc616d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/toolkit/src/query/fetchBaseQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export function fetchBaseQuery({
url = joinUrls(baseUrl, url)

const request = new Request(url, config)
const requestClone = request.clone()
const requestClone = new Request(url, config)
meta = { request: requestClone }

let response,
Expand Down

0 comments on commit fc616d4

Please sign in to comment.