This commit is contained in:
Benjamin Toby 2024-12-28 16:23:31 +01:00
parent c4e65a34db
commit 26a29ed741
2 changed files with 3 additions and 1 deletions

View File

@ -33,6 +33,8 @@ function serializeQuery(query) {
queryArr.push(`${key}=${encodeURIComponent(String(jsonStr))}`); queryArr.push(`${key}=${encodeURIComponent(String(jsonStr))}`);
} else if (typeof value === "string" || typeof value === "number") { } else if (typeof value === "string" || typeof value === "number") {
queryArr.push(`${key}=${encodeURIComponent(value)}`); queryArr.push(`${key}=${encodeURIComponent(value)}`);
} else {
queryArr.push(`${key}=${String(value)}`);
} }
}); });

View File

@ -1,6 +1,6 @@
{ {
"name": "@moduletrace/datasquirel", "name": "@moduletrace/datasquirel",
"version": "3.2.4", "version": "3.2.5",
"description": "Cloud-based SQL data management tool", "description": "Cloud-based SQL data management tool",
"main": "index.js", "main": "index.js",
"bin": { "bin": {