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

Commit 57ee412

Browse files
authored
fix: implement correct fetch call for HTTP queries with body (#87)
1 parent 5ac9513 commit 57ee412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/web/src/instrumentation/fetchInstrumentation.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class EpsagonFetchInstrumentation extends FetchInstrumentation {
113113
diag.debug('After add headers: url: ', url , 'options: ', options);
114114
plugin._tasksCount += 1;
115115
return original
116-
.apply(this, [url, options])
116+
.apply(this, [input, init])
117117
.catch((ex) => {
118118
diag.debug(ex);
119119
diag.debug(JSON.stringify(ex));

0 commit comments

Comments
 (0)