Skip to content

Commit

Permalink
fix: remove errant console.dir
Browse files Browse the repository at this point in the history
  • Loading branch information
flanagansteve committed Nov 5, 2024
1 parent 176812e commit 7859a84
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/connectors/panoptic/panoptic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,7 @@ export class Panoptic {
variables: Record<string, string | string[] | number | number[] | BigNumber | BigNumber[]>
): Promise<AxiosResponse | Error> {
try {
let result = await axios.post(this.subgraphUrl, { query, variables });
console.dir(result, { depth: null });
return result
return await axios.post(this.subgraphUrl, { query, variables });
} catch (error) {
if (error instanceof Error) {
return new Error("Error querying Panoptic Subgraph:" + error.message);
Expand Down

0 comments on commit 7859a84

Please sign in to comment.