From 612c6e3384d089971af8cd63e3ad979a4ddb328d Mon Sep 17 00:00:00 2001 From: Daniel Werner Date: Fri, 16 Aug 2024 10:09:22 -0700 Subject: [PATCH] indexer-common: fix paused mechanism --- packages/indexer-common/src/graph-node.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/indexer-common/src/graph-node.ts b/packages/indexer-common/src/graph-node.ts index cbf311a86..aafd18b73 100644 --- a/packages/indexer-common/src/graph-node.ts +++ b/packages/indexer-common/src/graph-node.ts @@ -182,14 +182,14 @@ export class GraphNode { const result = await this.status .query( gql` - { - indexingStatuses($subgraphs) { - subgraphDeployment: subgraph - node - paused + query indexingStatuses($subgraphs: [String!]!) { + indexingStatuses(subgraphs: $subgraphs) { + subgraphDeployment: subgraph + node + paused + } } - } - `, + `, { subgraphs: withAssignments }, ) .toPromise()