Skip to content

Commit

Permalink
common: Fix filtering when fetching active subgraphs
Browse files Browse the repository at this point in the history
  • Loading branch information
fordN committed Jul 17, 2024
1 parent 5f28ddf commit b684334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/indexer-common/src/graph-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b684334

Please sign in to comment.