Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
zefanjajobse committed Oct 8, 2023
1 parent 890be46 commit 220b59b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,7 @@ async fn get() -> Result<Vec<BattlebitServer>> {
json_string.remove(0);
}
match serde_json::from_str::<Vec<BattlebitServer>>(&json_string) {
Ok(json_res) => {
Ok(json_res)
}
Ok(json_res) => Ok(json_res),
Err(e) => {
anyhow::bail!("BattleBit public json is incorrect: {:#?}", e)
}
Expand Down

0 comments on commit 220b59b

Please sign in to comment.