diff --git a/codegen.yml b/codegen.yml index 0398e9a81..9f3142ca9 100644 --- a/codegen.yml +++ b/codegen.yml @@ -1,6 +1,6 @@ schema: - https://api.thegraph.com/index-node/graphql - - https://api.thegraph.com/subgraphs/name/ubeswap/ubeswap + - https://api.thegraph.com/subgraphs/name/ubeswap/ubeswap-backup - https://api.thegraph.com/subgraphs/name/ubeswap/celo-blocks documents: ./src/apollo/queries.ts config: diff --git a/src/apollo/client.ts b/src/apollo/client.ts index 01dac38d2..4fd5c5954 100644 --- a/src/apollo/client.ts +++ b/src/apollo/client.ts @@ -4,7 +4,7 @@ import { HttpLink } from 'apollo-link-http' export const client = new ApolloClient({ link: new HttpLink({ - uri: 'https://api.thegraph.com/subgraphs/name/ubeswap/ubeswap', + uri: 'https://api.thegraph.com/subgraphs/name/ubeswap/ubeswap-backup', }), cache: new InMemoryCache(), })