Skip to content

Commit

Permalink
bugfix set default value for the graph
Browse files Browse the repository at this point in the history
  • Loading branch information
Øyvind Hatland committed Oct 20, 2023
1 parent 5e3a3ef commit b3b3220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/utils/the-graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export async function getCapTablesForAddresses(addresses: string[]) {

// create a timer that fires one requst each second for 5 seconds, then stops
const fetchData = async () => {
const res = await fetch(THE_GRAPH_URL, {
const res = await fetch(THE_GRAPH_URL || "http://localhost:8000/subgraphs/name/brok/captable", {
method: "post",
body: JSON.stringify({
query,
Expand Down

0 comments on commit b3b3220

Please sign in to comment.