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 2f18fbf commit fe2cf2aCopy full SHA for fe2cf2a
src/request.ts
@@ -91,7 +91,7 @@ export default function upload(option: UploadRequestOption) {
91
}
92
93
Object.entries(headers)
94
- .filter(([header, value]) => value !== null)
+ .filter(([, value]) => value !== null)
95
.forEach(([header, value]) => xhr.setRequestHeader(header, value));
96
97
xhr.send(formData);
0 commit comments