removed unneeded dbg call

This commit is contained in:
Denys Konovalov 2021-11-27 13:30:26 +01:00
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()
} }