Skip to content

Commit

Permalink
refactor: update fetch in snapshot subgraph client (#1851)
Browse files Browse the repository at this point in the history
  • Loading branch information
andyesp committed Jun 11, 2024
1 parent 571394f commit 3b4231b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/SnapshotSubgraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class SnapshotSubgraph {

const delegations: Delegation[] = await inBatches(
async (vars, skip, batchSize) => {
const response = await fetch(SNAPSHOT_QUERY_ENDPOINT, {
const response = await fetch(this.queryEndpoint, {
method: 'post',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
Expand Down

0 comments on commit 3b4231b

Please sign in to comment.