Skip to content

Commit

Permalink
common: pass 'variables' value when recursing
Browse files Browse the repository at this point in the history
  • Loading branch information
tilacog committed Oct 9, 2023
1 parent b9fdc74 commit c1c942a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/indexer-common/src/subgraphs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,12 @@ export class SubgraphFreshnessChecker {
logInfo,
)
await sleep(this.sleepDurationMillis)
return this.checkedQueryRecursive(updatedQuery, subgraph, retriesLeft - 1)
return this.checkedQueryRecursive(
updatedQuery,
subgraph,
retriesLeft - 1,
variables,
)
} else {
this.logger.trace(`${this.subgraphName} is fresh`, logInfo)
}
Expand Down

0 comments on commit c1c942a

Please sign in to comment.