Skip to content

Commit

Permalink
fix: set correct thegraph api urls
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor committed Oct 26, 2022
1 parent a5f1d80 commit 29ebbe3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/subgraph/src/getURL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ import { Network } from "./types"
export default function getURL(network: Network): string {
switch (network) {
case "goerli":
return `https://api.thegraph.com/subgraphs/name/semaphore-protocol/goerli-5259d3`
case "arbitrum":
return `https://api.thegraph.com/subgraphs/name/semaphore-protocol/${network}`
return `https://api.thegraph.com/subgraphs/name/semaphore-protocol/arbitrum-86337c`
default:
throw new TypeError(`Network '${network}' is not supported`)
}
Expand Down

0 comments on commit 29ebbe3

Please sign in to comment.