Skip to content

Commit 95bca8e

Browse files
committed
refactor: rename networkSubgraph param to subgraphClient in fetchCollectableAgreements
1 parent d549db6 commit 95bca8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/indexer-common/src/indexing-fees/agreement-monitor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ const INDEXING_AGREEMENTS_QUERY = gql`
4343
`
4444

4545
export async function fetchCollectableAgreements(
46-
networkSubgraph: SubgraphClient,
46+
subgraphClient: SubgraphClient,
4747
indexerAddress: string,
4848
): Promise<SubgraphIndexingAgreement[]> {
4949
const all: SubgraphIndexingAgreement[] = []
5050
let lastId = ''
5151

5252
for (;;) {
53-
const result = await networkSubgraph.query(INDEXING_AGREEMENTS_QUERY, {
53+
const result = await subgraphClient.query(INDEXING_AGREEMENTS_QUERY, {
5454
indexer: indexerAddress.toLowerCase(),
5555
lastId,
5656
})

0 commit comments

Comments
 (0)