Skip to content

Commit 6cc580c

Browse files
committed
Fix indentation
1 parent d2333a8 commit 6cc580c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/fetch/src/utils/form-data.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ export const toFormData = async (source) => {
9292
const contentType = headers?.get('Content-Type') || ''
9393

9494
if (contentType.startsWith('application/x-www-form-urlencoded') && body != null) {
95-
const form = new FormData();
96-
let bodyText = await source.text();
97-
new URLSearchParams(bodyText).forEach((v, k) => form.append(k, v));
98-
return form;
95+
const form = new FormData();
96+
let bodyText = await source.text();
97+
new URLSearchParams(bodyText).forEach((v, k) => form.append(k, v));
98+
return form;
9999
}
100100

101101
const [type, boundary] = contentType.split(/\s*;\s*boundary=/)

0 commit comments

Comments
 (0)