From 63ce63dd25b945de636fe1fca2b785126ed5660f Mon Sep 17 00:00:00 2001 From: Ford Date: Wed, 17 Jul 2024 14:38:38 -0700 Subject: [PATCH] common: Fix filtering when fetching active subgraphs --- 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 90745325b..614d7922a 100644 --- a/packages/indexer-common/src/graph-node.ts +++ b/packages/indexer-common/src/graph-node.ts @@ -183,7 +183,7 @@ export class GraphNode { if (subgraphStatus === SubgraphStatus.ACTIVE) { return ( status.paused === false || - (status.paused === undefined && status.node === 'removed') + (status.paused === undefined && status.node !== 'removed') ) } else if (subgraphStatus === SubgraphStatus.PAUSED) { return status.node === 'removed' || status.paused === true