forked from cerc-io/laconic-sdk
rm debugs
This commit is contained in:
parent
ebe80aba78
commit
66a9b6a4b5
@ -256,11 +256,9 @@ export class RegistryClient {
|
||||
attributes: Util.toGQLAttributes(attributes),
|
||||
all
|
||||
};
|
||||
console.debug("[DEBUG] variables", variables);
|
||||
|
||||
let result = (await this._graph(query)(variables))['queryRecords'];
|
||||
result = RegistryClient.prepareAttributes('attributes')(result);
|
||||
console.debug("[DEBUG] prepared result", result);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
@ -33,7 +33,6 @@ export class Util {
|
||||
* Marshal object into gql 'attributes' variable.
|
||||
*/
|
||||
static toGQLAttributes(obj: any) {
|
||||
console.log("[DEBUG] toGQLAttributes", obj);
|
||||
const vars: any[] = [];
|
||||
Object.keys(obj).forEach(key => {
|
||||
vars.push({ key, value: this.toGQLValue(obj[key]) });
|
||||
|
Loading…
Reference in New Issue
Block a user