@hapaul/api 0.1.33 → 0.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -114,7 +114,7 @@ function mergeHeaders(...allHeaders) {
|
|
|
114
114
|
function defaultQuerySerializer(query) {
|
|
115
115
|
let str = "";
|
|
116
116
|
Object.entries(query).forEach(([key, val]) => {
|
|
117
|
-
if (Array.isArray(val)) str += `${key}
|
|
117
|
+
if (Array.isArray(val)) str += `${key}=${val}`;
|
|
118
118
|
else if (isObject(val)) str += `${key}=${JSON.stringify(val)}`;
|
|
119
119
|
else str += `${key}=${val}`;
|
|
120
120
|
});
|