Skip to content

Commit

Permalink
subgraph config fix
Browse files Browse the repository at this point in the history
  • Loading branch information
madhurMongia committed Jan 15, 2025
1 parent c105346 commit 0b2b28b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/config/subgraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ export type queryReturnType<Q extends queryType> = Record<
>;

export const subgraph_url = {
[mainnet.id]: process.env.MAINNET_SUBGRAPH_URL ?? throw new Error('MAINNET_SUBGRAPH_URL not set'),
[gnosis.id]: process.env.GNOSIS_SUBGRAPH_URL ?? throw new Error('GNOSIS_SUBGRAPH_URL not set'),
[sepolia.id]: process.env.SEPOLIA_SUBGRAPH_URL ?? throw new Error('SEPOLIA_SUBGRAPH_URL not set'),
[gnosisChiado.id]: process.env.CHIADO_SUBGRAPH_URL ?? throw new Error('CHIADO_SUBGRAPH_URL not set'),
[mainnet.id]: process.env.MAINNET_SUBGRAPH_URL,
[gnosis.id]: process.env.GNOSIS_SUBGRAPH_URL,
[sepolia.id]: process.env.SEPOLIA_SUBGRAPH_URL,
[gnosisChiado.id]: process.env.CHIADO_SUBGRAPH_URL,
};

export const sdk = {
Expand Down

0 comments on commit 0b2b28b

Please sign in to comment.