Skip to content

Commit

Permalink
common: Fix filtering when fetching active subgraphs
Browse files Browse the repository at this point in the history
fordN authored and dwerner committed Jul 22, 2024

Verified

This commit was signed with the committer’s verified signature.
MarkMankins Mark Mankins
1 parent 35589d1 commit 63ce63d
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
@@ -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

0 comments on commit 63ce63d

Please sign in to comment.