removed unneeded dbg call
This commit is contained in:
parent
c7dc7ea6c1
commit
ff15e789c8
@ -30,7 +30,6 @@ pub struct Lesson {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async fn get_timetable_xml(url: &str) -> serde_json::value::Value {
|
async fn get_timetable_xml(url: &str) -> serde_json::value::Value {
|
||||||
dbg!(format!("{}/{}", config::TIMETABLE_URL, url));
|
|
||||||
let client = reqwest::Client::new();
|
let client = reqwest::Client::new();
|
||||||
let resp = client
|
let resp = client
|
||||||
.get(format!("{}/{}", config::TIMETABLE_URL, url))
|
.get(format!("{}/{}", config::TIMETABLE_URL, url))
|
||||||
@ -41,7 +40,6 @@ async fn get_timetable_xml(url: &str) -> serde_json::value::Value {
|
|||||||
.text()
|
.text()
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
dbg!(&resp);
|
|
||||||
xml_string_to_json(resp, &Config::new_with_defaults()).unwrap()
|
xml_string_to_json(resp, &Config::new_with_defaults()).unwrap()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user