This commit is contained in:
Benjamin Toby
2025-03-25 09:33:18 +01:00
parent e3c98388c6
commit 2091c823c8
5 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ function apiGetGrabQueryAndValues({ query, values }) {
});
return {
query: typeof query == "string"
? String(query.replace(/\n|\r|\n\r/g, "").replace(/ {2,}/g, " "))
? String(query.replace(/\n|\r|\n\r/g, " ").replace(/ {2,}/g, " "))
: (queryGenObject === null || queryGenObject === void 0 ? void 0 : queryGenObject.string) || "",
values: values || (queryGenObject === null || queryGenObject === void 0 ? void 0 : queryGenObject.values),
valuesString: typeof query == "string"