From 94e27ec39ca1e91108a19708c02786f21d3b86da Mon Sep 17 00:00:00 2001 From: peg Date: Mon, 9 Dec 2024 10:05:09 +0100 Subject: [PATCH] Use display not debug for building quote context querystring --- crates/client/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/client/src/client.rs b/crates/client/src/client.rs index 113ddecc6..44ee4a881 100644 --- a/crates/client/src/client.rs +++ b/crates/client/src/client.rs @@ -489,7 +489,7 @@ pub async fn get_tdx_quote( quote_context: QuoteContext, ) -> Result, ClientError> { let response = - reqwest::get(format!("http://{}/attest?context={:?}", tss_endpoint, quote_context)).await?; + reqwest::get(format!("http://{}/attest?context={}", tss_endpoint, quote_context)).await?; if response.status() != reqwest::StatusCode::OK { return Err(ClientError::QuoteGet(response.text().await?)); }