Skip to content

Commit

Permalink
refactor: clean compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Sopena Ballesteros committed Nov 3, 2024
1 parent 874d341 commit 61d2fe4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/hsm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,7 @@ pub mod group {
.json(&xname) // make sure this is not a string!
.send()
.await?
.error_for_status()?
.json()
.await?;
.error_for_status()?;
// TODO Parse the output!!!
// TODO add some debugging output

Expand Down Expand Up @@ -317,9 +315,7 @@ pub mod group {
.header("Authorization", format!("Bearer {}", shasta_token))
.send()
.await?
.error_for_status()?
.json()
.await?;
.error_for_status()?;

// TODO Parse the output!!!
// TODO add some debugging output
Expand Down

0 comments on commit 61d2fe4

Please sign in to comment.