From ad930ec33041596330ca334488168753267ee198 Mon Sep 17 00:00:00 2001 From: Corey Rice Date: Fri, 29 Nov 2024 14:49:32 -0300 Subject: [PATCH] refactor: return data key value from query result --- subgraphs/isolated-pools/subgraph-client/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subgraphs/isolated-pools/subgraph-client/index.ts b/subgraphs/isolated-pools/subgraph-client/index.ts index 17abd49a..04c201fa 100644 --- a/subgraphs/isolated-pools/subgraph-client/index.ts +++ b/subgraphs/isolated-pools/subgraph-client/index.ts @@ -43,7 +43,7 @@ class SubgraphClient { async getPools(): Promise { const result = await this.query(PoolsDocument, {}); - return result.data; + return result; } async getPool(id: string) {