WIP
This commit is contained in:
parent
1f34b60924
commit
3b6971095c
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ async fn get_fmspc_list() -> Vec<Fmspc> {
|
||||||
.text()
|
.text()
|
||||||
.await
|
.await
|
||||||
.expect("could not read https response");
|
.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 fmspc_data: Vec<Value> = serde_json::from_str(&body).expect("could not convert to JSON");
|
||||||
let mut fmspc_list: Vec<Fmspc> = Vec::new();
|
let mut fmspc_list: Vec<Fmspc> = Vec::new();
|
||||||
for item in fmspc_data.iter() {
|
for item in fmspc_data.iter() {
|
||||||
|
|
Loading…
Reference in a new issue