Skip to content

Commit 710c399

Browse files
committed
refactor: remove useless client function
Signed-off-by: Gustavo Inacio <[email protected]>
1 parent 57cb528 commit 710c399

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

crates/monitor/src/client/subgraph_client.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ impl DeploymentDetails {
5858
}
5959

6060
pub fn for_query_url_with_token(query_url: Url, query_auth_token: Option<String>) -> Self {
61-
Self::for_query_url_with_token_url(query_url, query_auth_token)
62-
}
63-
64-
pub fn for_query_url_with_token_url(query_url: Url, query_auth_token: Option<String>) -> Self {
6561
Self {
6662
deployment: None,
6763
status_url: None,

crates/tap-agent/src/agent.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub async fn start_agent() -> (ActorRef<SenderAccountsManagerMessage>, JoinHandl
7878
deployment,
7979
)
8080
}),
81-
DeploymentDetails::for_query_url_with_token_url(
81+
DeploymentDetails::for_query_url_with_token(
8282
network_query_url.clone(),
8383
network_query_auth_token.clone(),
8484
),
@@ -105,7 +105,7 @@ pub async fn start_agent() -> (ActorRef<SenderAccountsManagerMessage>, JoinHandl
105105
deployment,
106106
)
107107
}),
108-
DeploymentDetails::for_query_url_with_token_url(
108+
DeploymentDetails::for_query_url_with_token(
109109
escrow_query_url.clone(),
110110
escrow_query_auth_token.clone(),
111111
),

0 commit comments

Comments
 (0)