From 29ebbe3b091bec1aad9158f1bc05e8aa8fa77967 Mon Sep 17 00:00:00 2001 From: cedoor Date: Wed, 26 Oct 2022 16:28:26 +0200 Subject: [PATCH] fix: set correct thegraph api urls --- packages/subgraph/src/getURL.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/subgraph/src/getURL.ts b/packages/subgraph/src/getURL.ts index fde05c78e..08a68a45c 100644 --- a/packages/subgraph/src/getURL.ts +++ b/packages/subgraph/src/getURL.ts @@ -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`) }