Skip to content
Closed
Prev Previous commit
style(gl): fix fmt in cert list response parsing
  • Loading branch information
Gravirei committed Sep 6, 2026
commit 848ccfa5de660a575006aaf32fc856832f6eefc4
5 changes: 1 addition & 4 deletions crates/gl/src/cert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,7 @@ async fn cmd_list(repo: String, node: String, dir: Option<PathBuf>) -> Result<()
.await?
.error_for_status()
.context("failed to list certificates")?;
let resp: Value = resp
.json()
.await
.context("failed to list certificates")?;
let resp: Value = resp.json().await.context("failed to list certificates")?;

let certs = resp["certificates"].as_array().cloned().unwrap_or_default();

Expand Down
Loading