Updates
This commit is contained in:
@@ -82,6 +82,7 @@ function apiGet(_a) {
|
||||
(_b = global.ERROR_CALLBACK) === null || _b === void 0 ? void 0 : _b.call(global, `API Get Error`, error);
|
||||
if (debug && global.DSQL_USE_LOCAL) {
|
||||
console.log("apiGet:error", error.message);
|
||||
console.log("queryAndValues", queryAndValues);
|
||||
}
|
||||
return {
|
||||
success: false,
|
||||
|
||||
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user