Skip to content

Commit bad0222

Browse files
committedOct 7, 2020
Update index.js
1 parent b62d44b commit bad0222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const jsonToQuery = function (obj, prefix) {
66
v = obj[p];
77
str.push(
88
v !== null && typeof v === "object"
9-
? serialize(v, k)
9+
? jsonToQuery(v, k)
1010
: encodeURIComponent(k) + "=" + encodeURIComponent(v)
1111
);
1212
}

0 commit comments

Comments
 (0)