From a98d500b14da1a314972408ae4e5cd36d5421239 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Wed, 3 Mar 2021 22:48:00 +0100 Subject: [PATCH] Changed polymarket endpoint --- src/polymarket-fetch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/polymarket-fetch.js b/src/polymarket-fetch.js index 6feb975..f1ad164 100644 --- a/src/polymarket-fetch.js +++ b/src/polymarket-fetch.js @@ -4,7 +4,7 @@ import axios from "axios" import { calculateStars } from "./stars.js" /* Definitions */ -let graphQLendpoint = "https://subgraph-matic.poly.market/subgraphs/name/TokenUnion/polymarket"//"https://subgraph-backup.poly.market/subgraphs/name/TokenUnion/polymarket"//'https://subgraph-matic.poly.market/subgraphs/name/TokenUnion/polymarket3' +let graphQLendpoint = "https://api.thegraph.com/subgraphs/name/tokenunion/polymarket-matic"//"https://subgraph-matic.poly.market/subgraphs/name/TokenUnion/polymarket"//"https://subgraph-backup.poly.market/subgraphs/name/TokenUnion/polymarket"//'https://subgraph-matic.poly.market/subgraphs/name/TokenUnion/polymarket3' let units = 10 ** 6 /* Support functions