Skip to content

Commit 2b414f8

Browse files
committed
fix: set correct thegraph api urls
Former-commit-id: 29ebbe3
1 parent 1fcff83 commit 2b414f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/subgraph/src/getURL.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ import { Network } from "./types"
88
export default function getURL(network: Network): string {
99
switch (network) {
1010
case "goerli":
11+
return `https://api.thegraph.com/subgraphs/name/semaphore-protocol/goerli-5259d3`
1112
case "arbitrum":
12-
return `https://api.thegraph.com/subgraphs/name/semaphore-protocol/${network}`
13+
return `https://api.thegraph.com/subgraphs/name/semaphore-protocol/arbitrum-86337c`
1314
default:
1415
throw new TypeError(`Network '${network}' is not supported`)
1516
}

0 commit comments

Comments
 (0)