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 03fca7b commit 8c4a1dcCopy full SHA for 8c4a1dc
src/utils.ts
@@ -310,10 +310,7 @@ export function flattenAndStringify(
310
const result: Record<string, string | Uint8Array> = {};
311
312
const step = (obj: MultipartRequestData, prevKey: string | null): void => {
313
- Object.keys(obj).forEach((key) => {
314
- // @ts-ignore
315
- const value = obj[key];
316
-
+ Object.entries(obj).forEach(([key, value]) => {
317
const newKey = prevKey ? `${prevKey}[${key}]` : key;
318
319
if (isObject(value)) {
0 commit comments