Skip to content

Commit

Permalink
req.method is GET by default, use the provided method not the req.method
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Nov 15, 2024
1 parent c983e81 commit 8864c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entrypoints/recorder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ function initXhrObserver(cb: networkCallback, win: IWindow, options: Required<Ne
.then((entry) => {
const requests = prepareRequest({
entry,
method: req.method,
method: method,
status: xhr?.status,
networkRequest,
start,
Expand Down

0 comments on commit 8864c63

Please sign in to comment.