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
@@ -105,6 +105,7 @@ export default async function apiGet<
if (debug && global.DSQL_USE_LOCAL) {
console.log("apiGet:error", error.message);
console.log("queryAndValues", queryAndValues);
}
return {
@@ -21,7 +21,7 @@ export default function apiGetGrabQueryAndValues<
query:
typeof query == "string"
? String(
query.replace(/\n|\r|\n\r/g, "").replace(/ {2,}/g, " ")
query.replace(/\n|\r|\n\r/g, " ").replace(/ {2,}/g, " ")
)
: queryGenObject?.string || "",
values: values || queryGenObject?.values,