diff --git a/package-shared/utils/serialize-query.js b/package-shared/utils/serialize-query.js index 9a8a497..129006a 100644 --- a/package-shared/utils/serialize-query.js +++ b/package-shared/utils/serialize-query.js @@ -33,6 +33,8 @@ function serializeQuery(query) { queryArr.push(`${key}=${encodeURIComponent(String(jsonStr))}`); } else if (typeof value === "string" || typeof value === "number") { queryArr.push(`${key}=${encodeURIComponent(value)}`); + } else { + queryArr.push(`${key}=${String(value)}`); } }); diff --git a/package.json b/package.json index e26c54e..b100f76 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@moduletrace/datasquirel", - "version": "3.2.4", + "version": "3.2.5", "description": "Cloud-based SQL data management tool", "main": "index.js", "bin": {