From 16af9c364325e691053aaa2ac407e2ed41a9b9c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B4=CF=85=CF=82?= Date: Tue, 13 Aug 2024 05:04:21 -0400 Subject: [PATCH] =?UTF-8?q?trying=20DAOHaus=20v3=20Graph=20endpoint=20?= =?UTF-8?q?=F0=9F=9A=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/codegen.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/backend/codegen.ts b/packages/backend/codegen.ts index 6842d0fbb..b9acb9c64 100644 --- a/packages/backend/codegen.ts +++ b/packages/backend/codegen.ts @@ -42,8 +42,9 @@ export default { }, 'src/lib/autogen/daohaus-sdk.ts': { // DAOHaus v3 API Endpoint - // schema: `https://gateway.thegraph.com/api/${process.env.THE_GRAPH_API_TOKEN}/subgraphs/id/GfHFdFmiSwW1PKtnDhhcxhArwtTjVuMnXxQ5XcETF1bP`, - schema: `https://gateway.thegraph.com/api/${process.env.THE_GRAPH_API_TOKEN}/subgraphs/id/9uvKq57ZiNCdT9uZ6xaFhp3yYczTM4Fgr7CJHM6tdX9H`, + schema: `https://gateway.thegraph.com/api/${process.env.THE_GRAPH_API_TOKEN}/subgraphs/id/GfHFdFmiSwW1PKtnDhhcxhArwtTjVuMnXxQ5XcETF1bP`, + // v2 + // schema: `https://gateway.thegraph.com/api/${process.env.THE_GRAPH_API_TOKEN}/subgraphs/id/9uvKq57ZiNCdT9uZ6xaFhp3yYczTM4Fgr7CJHM6tdX9H`, documents: [ 'src/handlers/remote-schemas/resolvers/daohaus/**/(!(*.d)).ts', ],