diff --git a/src/clients/SnapshotSubgraph.ts b/src/clients/SnapshotSubgraph.ts index 9a4ded3b1..988efab39 100644 --- a/src/clients/SnapshotSubgraph.ts +++ b/src/clients/SnapshotSubgraph.ts @@ -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({