diff options
Diffstat (limited to 'ext/fetch/21_formdata.js')
-rw-r--r-- | ext/fetch/21_formdata.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fetch/21_formdata.js b/ext/fetch/21_formdata.js index 4ab955610..d253976ef 100644 --- a/ext/fetch/21_formdata.js +++ b/ext/fetch/21_formdata.js @@ -305,7 +305,7 @@ const prefix = `--${boundary}\r\nContent-Disposition: form-data; name="`; // deno-lint-ignore prefer-primordials - for (const [name, value] of formData) { + for (const { 0: name, 1: value } of formData) { if (typeof value === "string") { ArrayPrototypePush( chunks, |