From 5f28ddf32057d498a8c5e368e1a1ff317c4829ee Mon Sep 17 00:00:00 2001 From: Daniel Werner Date: Tue, 16 Jul 2024 13:13:03 -0700 Subject: [PATCH] common: fix null error in subgraphDeploymentsAssignments --- packages/indexer-common/src/graph-node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/indexer-common/src/graph-node.ts b/packages/indexer-common/src/graph-node.ts index 785d0f574..90745325b 100644 --- a/packages/indexer-common/src/graph-node.ts +++ b/packages/indexer-common/src/graph-node.ts @@ -195,7 +195,7 @@ export class GraphNode { return { id: new SubgraphDeploymentID(status.subgraphDeployment), node: status.node, - paused: status.paused, + paused: status.paused ?? status.node === 'removed', } }) } catch (error) {