We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9b34cf commit 60a656eCopy full SHA for 60a656e
1 file changed
src/vmax.rs
@@ -40,7 +40,6 @@ fn get_data<T>(
40
where
41
T: DeserializeOwned + Debug + IntoPoint,
42
{
43
- //let j: T = client
44
let mut j = client
45
.get(&format!(
46
"https://{}/univmax/restapi/{}",
@@ -49,10 +48,7 @@ where
49
48
.basic_auth(config.user.clone(), Some(config.password.clone()))
50
.send()?
51
.error_for_status()?;
52
- //debug!("I got the following {:?} json", j.text()); // This is extra debug line here
53
- //.json()?;
54
let deserialized: T = j.json()?;
55
- //Ok(j.into_point(Some(point_name)))
56
Ok(deserialized.into_point(Some(point_name)))
57
}
58
0 commit comments