From c4cb57c1aecbca9ad36e0e25dcb6febdfbb09ee2 Mon Sep 17 00:00:00 2001 From: lemu Date: Mon, 18 Sep 2023 20:48:08 -0300 Subject: [PATCH] fix: add missing query param name (#1270) --- src/clients/SnapshotGraphql.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clients/SnapshotGraphql.ts b/src/clients/SnapshotGraphql.ts index 5454560a1..e69793d62 100644 --- a/src/clients/SnapshotGraphql.ts +++ b/src/clients/SnapshotGraphql.ts @@ -267,7 +267,7 @@ export class SnapshotGraphql extends API { const result = await this.fetch( GRAPHQL_ENDPOINT, this.options().method('POST').json({ - GET_VOTES_QUERY, + query: GET_VOTES_QUERY, variables, }) )