From c6d34ea88dbb097659e2b8baa9f5062559c9d488 Mon Sep 17 00:00:00 2001 From: Iris Date: Thu, 19 Oct 2023 12:49:08 +0200 Subject: [PATCH] fix: remove logs --- src/endpoints/starkscan/fetch_nfts.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/endpoints/starkscan/fetch_nfts.rs b/src/endpoints/starkscan/fetch_nfts.rs index 17855ba..4a9e960 100644 --- a/src/endpoints/starkscan/fetch_nfts.rs +++ b/src/endpoints/starkscan/fetch_nfts.rs @@ -67,10 +67,7 @@ pub async fn handler( { Ok(response) => match response.text().await { Ok(text) => match serde_json::from_str::(&text) { - Ok(res) => { - println!("Got response: {:?}", res); - (StatusCode::OK, Json(res)).into_response() - } + Ok(res) => (StatusCode::OK, Json(res)).into_response(), Err(e) => get_error(format!( "Failed to deserialize result from Starkscan API: {} for response: {}", e, text