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
+2
View File
@@ -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)}`);
}
});