Skip to content

Commit

Permalink
refactor: return data key value from query result
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyar committed Dec 5, 2024
1 parent d61d6e5 commit ad930ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subgraphs/isolated-pools/subgraph-client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class SubgraphClient {

async getPools(): Promise<PoolsQuery> {
const result = await this.query(PoolsDocument, {});
return result.data;
return result;
}

async getPool(id: string) {
Expand Down

0 comments on commit ad930ec

Please sign in to comment.