Skip to content

Commit

Permalink
removing print
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchand-Nicolas committed Jul 24, 2024
1 parent aa1a83e commit 2a2350e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/endpoints/quests/strk_farm/check_balance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ pub async fn handler(
let res = reqwest::get(&url).await.unwrap().text().await.unwrap();
// Res in a JSON containing the user's balance
let json: StrkFarmAPIResponse = serde_json::from_str(&res).unwrap();
println!("{:?}", json);
let usd = json["holdingsUSD"].as_f64().unwrap();
if usd == 0.0 {
get_error("You didn't invest on StrkFarm.".to_string())
Expand Down

0 comments on commit 2a2350e

Please sign in to comment.