Skip to content

Commit

Permalink
fix(browser): correctly send request body
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgw committed Jun 11, 2023
1 parent 01c1d75 commit 77a5b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function syncFetch (...args) {
xhr.setRequestHeader(...header)
}

xhr.send(request.body || null)
xhr.send(request[INTERNALS].body || null)

// Response
let headers = xhr.getAllResponseHeaders()
Expand Down

0 comments on commit 77a5b8f

Please sign in to comment.