Skip to content

Commit 67b6307

Browse files
Revert "server: Make the indexingStatuses argument required"
This reverts commit 7740c0a.
1 parent 5c2811c commit 67b6307

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/index-node/src/resolver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ impl<S: Store> IndexNodeResolver<S> {
139139
.collect(),
140140
_ => unreachable!(),
141141
})
142-
.unwrap();
142+
.unwrap_or_else(Vec::new);
143143

144144
let infos = self
145145
.store

server/index-node/src/schema.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type Query {
2121
indexingStatusesForSubgraphName(
2222
subgraphName: String!
2323
): [SubgraphIndexingStatus!]!
24-
indexingStatuses(subgraphs: [String!]!): [SubgraphIndexingStatus!]!
24+
indexingStatuses(subgraphs: [String!]): [SubgraphIndexingStatus!]!
2525
proofOfIndexing(
2626
subgraph: String!
2727
blockNumber: Int!

0 commit comments

Comments
 (0)