Update Types and Bugfixes

This commit is contained in:
Benjamin Toby
2024-10-18 07:02:16 +01:00
parent 30f607ce8d
commit bf1d7f5fcd
3 changed files with 2 additions and 16 deletions
+1
View File
@@ -8,6 +8,7 @@ function serializeQuery({ query }) {
/** @type {string[]} */
const queryArr = [];
keys.forEach((key) => {
if (!key || !query[key]) return;
queryArr.push(`${key}=${query[key]}`);
});
str += queryArr.join("&");