This commit is contained in:
Ajinkya Kulkarni 2024-12-04 19:42:22 +01:00
parent 1f34b60924
commit 3b6971095c

View file

@ -31,6 +31,7 @@ async fn get_fmspc_list() -> Vec<Fmspc> {
.text()
.await
.expect("could not read https response");
println!("{body}");
let fmspc_data: Vec<Value> = serde_json::from_str(&body).expect("could not convert to JSON");
let mut fmspc_list: Vec<Fmspc> = Vec::new();
for item in fmspc_data.iter() {