rm debugs

This commit is contained in:
2024-01-10 18:08:28 +05:30
committed by nabarun
parent 918c4c695a
commit 4dfc424762
2 changed files with 0 additions and 3 deletions
-2
View File
@@ -256,11 +256,9 @@ export class RegistryClient {
attributes: Util.toGQLAttributes(attributes), attributes: Util.toGQLAttributes(attributes),
all all
}; };
console.debug("[DEBUG] variables", variables);
let result = (await this._graph(query)(variables))['queryRecords']; let result = (await this._graph(query)(variables))['queryRecords'];
result = RegistryClient.prepareAttributes('attributes')(result); result = RegistryClient.prepareAttributes('attributes')(result);
console.debug("[DEBUG] prepared result", result);
return result; return result;
} }
-1
View File
@@ -33,7 +33,6 @@ export class Util {
* Marshal object into gql 'attributes' variable. * Marshal object into gql 'attributes' variable.
*/ */
static toGQLAttributes(obj: any) { static toGQLAttributes(obj: any) {
console.log("[DEBUG] toGQLAttributes", obj);
const vars: any[] = []; const vars: any[] = [];
Object.keys(obj).forEach(key => { Object.keys(obj).forEach(key => {
vars.push({ key, value: this.toGQLValue(obj[key]) }); vars.push({ key, value: this.toGQLValue(obj[key]) });