We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6930af commit 64cb619Copy full SHA for 64cb619
.changeset/wet-apples-hide.md
@@ -0,0 +1,5 @@
1
+---
2
+"openapi-fetch": patch
3
4
+
5
+Fixes issue where native properties were not excluded from custom properties in the CustomRequest class
packages/openapi-fetch/src/index.js
@@ -14,7 +14,7 @@ class CustomRequest extends Request {
14
15
// add custom parameters
16
for (const key in init) {
17
- if (!this[key]) {
+ if (!(key in this)) {
18
this[key] = init[key];
19
}
20
0 commit comments