Skip to content

Commit

Permalink
fix: recreate subgraph client with auth
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodus committed Jul 29, 2024
1 parent 4db86b6 commit 0aa0c68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ async fn main() -> anyhow::Result<()> {
escrow_subgraph.http_client,
escrow_subgraph.subgraph_url,
)
.with_auth_token(Some(config.query_auth.clone()))
.with_subgraph_latest_block(latest_block.as_u64())
.build();
}
Expand Down

0 comments on commit 0aa0c68

Please sign in to comment.