Skip to content

Commit 60a656e

Browse files
committed
removed a couple of commented lines that were not needed
1 parent b9b34cf commit 60a656e

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/vmax.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ fn get_data<T>(
4040
where
4141
T: DeserializeOwned + Debug + IntoPoint,
4242
{
43-
//let j: T = client
4443
let mut j = client
4544
.get(&format!(
4645
"https://{}/univmax/restapi/{}",
@@ -49,10 +48,7 @@ where
4948
.basic_auth(config.user.clone(), Some(config.password.clone()))
5049
.send()?
5150
.error_for_status()?;
52-
//debug!("I got the following {:?} json", j.text()); // This is extra debug line here
53-
//.json()?;
5451
let deserialized: T = j.json()?;
55-
//Ok(j.into_point(Some(point_name)))
5652
Ok(deserialized.into_point(Some(point_name)))
5753
}
5854

0 commit comments

Comments
 (0)