From 26a29ed741cfe6ce0e8e7515459ddfa7d8776638 Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Sat, 28 Dec 2024 16:23:31 +0100 Subject: [PATCH] Updates --- package-shared/utils/serialize-query.js | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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": {