diff --git a/service/src/query_processor.rs b/service/src/query_processor.rs index 9037d16..4a5ed9f 100644 --- a/service/src/query_processor.rs +++ b/service/src/query_processor.rs @@ -125,7 +125,7 @@ pub struct QueryProcessor { impl QueryProcessor { pub fn new(graph_node_endpoint: &str, network_subgraph_endpoint: &str) -> QueryProcessor { - let graph_node = GraphNodeInstance::new(graph_node_endpoint.clone()); + let graph_node = GraphNodeInstance::new(graph_node_endpoint); QueryProcessor { client: Client::new(),