Skip to content

Commit

Permalink
common: fix null error in subgraphDeploymentsAssignments
Browse files Browse the repository at this point in the history
  • Loading branch information
dwerner committed Jul 17, 2024
1 parent 435ae94 commit 5f28ddf
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 @@ -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) {
Expand Down

0 comments on commit 5f28ddf

Please sign in to comment.