We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bda737c commit 09c1e9dCopy full SHA for 09c1e9d
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