Skip to content

Commit

Permalink
Updated apollo client
Browse files Browse the repository at this point in the history
  • Loading branch information
sameepsi committed Dec 6, 2021
1 parent 7639531 commit 02ef057
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
with:
cid: ${{ steps.upload.outputs.hash }}

- name: Purge cache
- name: Purge cloudflare cache
uses: jakejarvis/cloudflare-purge-action@master
env:
# Zone is required by both authentication methods
Expand Down
6 changes: 3 additions & 3 deletions src/apollo/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import { HttpLink } from 'apollo-link-http';

export const client = new ApolloClient({
link: new HttpLink({
uri: 'https://api.thegraph.com/subgraphs/name/sameepsi/quickswap06',
uri: 'https://polygon.furadao.org/subgraphs/name/quickswap',
}),
cache: new InMemoryCache(),
shouldBatch: true,
});

export const healthClient = new ApolloClient({
link: new HttpLink({
uri: 'https://api.thegraph.com/index-node/graphql',
uri: 'https://polygon.furadao.org/subgraphs/name/quickswap',
}),
cache: new InMemoryCache(),
shouldBatch: true,
Expand All @@ -36,7 +36,7 @@ export const stakingClient = new ApolloClient({

export const blockClient = new ApolloClient({
link: new HttpLink({
uri: 'https://api.thegraph.com/subgraphs/name/sameepsi/maticblocks',
uri: 'https://polygon.furadao.org/subgraphs/name/quickswap',
}),
cache: new InMemoryCache(),
});

0 comments on commit 02ef057

Please sign in to comment.