Skip to content

Commit

Permalink
fix: remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
irisdv committed Oct 19, 2023
1 parent 2e293bd commit c6d34ea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/endpoints/starkscan/fetch_nfts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,7 @@ pub async fn handler(
{
Ok(response) => match response.text().await {
Ok(text) => match serde_json::from_str::<StarkscanApiResult>(&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
Expand Down

0 comments on commit c6d34ea

Please sign in to comment.