Skip to content

Commit

Permalink
style: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj committed Jan 8, 2024
1 parent 386395a commit b6a7e5c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/indexer-common/src/network-subgraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ export class NetworkSubgraph {
private constructor(options: NetworkSubgraphOptions) {
this.logger = options.logger
this.freshnessChecker = options.subgraphFreshnessChecker
this.endpoint = options?.endpoint || options.deployment?.graphNode.getQueryEndpoint(options.deployment.id.ipfsHash) || ''
this.endpoint =
options?.endpoint ||
options.deployment?.graphNode.getQueryEndpoint(options.deployment.id.ipfsHash) ||
''

if (options.endpoint) {
this.endpointClient = axios.create({
Expand Down

0 comments on commit b6a7e5c

Please sign in to comment.