Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
fix: implement correct fetch call for HTTP queries with body (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qunapi authored Apr 24, 2022
1 parent 5ac9513 commit 57ee412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/src/instrumentation/fetchInstrumentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class EpsagonFetchInstrumentation extends FetchInstrumentation {
diag.debug('After add headers: url: ', url , 'options: ', options);
plugin._tasksCount += 1;
return original
.apply(this, [url, options])
.apply(this, [input, init])
.catch((ex) => {
diag.debug(ex);
diag.debug(JSON.stringify(ex));
Expand Down

0 comments on commit 57ee412

Please sign in to comment.