Skip to content

Commit

Permalink
chore: remove debug println
Browse files Browse the repository at this point in the history
  • Loading branch information
antomor committed Oct 12, 2023
1 parent ea5aa92 commit e4908c0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/bin/zksync_api/src/bin/providers/proxy_price_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,11 @@ async fn fetch_coins_list() -> HttpResponse {
}

async fn fetch_market_chart(request: HttpRequest) -> HttpResponse {
println!("fetch_market_chart started");
let data: &web::Data<ProxyState> = request.app_data().unwrap();
let query = request.query_string();
let path = request.path().to_string();
let forward_url = format!("{}{}?{}", API_URL, path, query);

println!("fetch_market_chart, before cache_proxy_request");

cache_proxy_request(&reqwest::Client::new(), &forward_url, &data.cache).await
}

Expand Down Expand Up @@ -85,7 +82,6 @@ mod fetch_market_chart_tests {
.uri("/api/v3/coins/rif-token/market_chart?vs_currency=usd&days=1")
.to_request();
let response = test::call_service(&test_app, req).await;
println!("{:?}", response);
assert!(response.status().is_success());

let body = response.into_body();
Expand Down

0 comments on commit e4908c0

Please sign in to comment.