From 88c9668f311e299d3919f757ec3ccc55ec8cd284 Mon Sep 17 00:00:00 2001 From: "Jacob D. Castro" Date: Tue, 1 Jul 2025 18:40:14 -0700 Subject: [PATCH 1/2] fix: update authorization header format in command --- crates/core/src/assertion_da.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core/src/assertion_da.rs b/crates/core/src/assertion_da.rs index 98a139e..b27433c 100644 --- a/crates/core/src/assertion_da.rs +++ b/crates/core/src/assertion_da.rs @@ -176,7 +176,7 @@ impl DaStoreArgs { /// * `Result` - The configured client or error fn create_da_client(&self, config: &CliConfig) -> Result { match &config.auth { - Some(auth) => DaClient::new_with_auth(&self.url, &auth.access_token), + Some(auth) => DaClient::new_with_auth(&self.url, &format!("Bearer {}", auth.access_token)), None => DaClient::new(&self.url), } } From 9a46988e492ebe39414938009120f3180b506a2a Mon Sep 17 00:00:00 2001 From: "Jacob D. Castro" Date: Tue, 1 Jul 2025 18:45:31 -0700 Subject: [PATCH 2/2] fix: run cargo fmt --- crates/core/src/assertion_da.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/core/src/assertion_da.rs b/crates/core/src/assertion_da.rs index b27433c..29e852a 100644 --- a/crates/core/src/assertion_da.rs +++ b/crates/core/src/assertion_da.rs @@ -176,7 +176,9 @@ impl DaStoreArgs { /// * `Result` - The configured client or error fn create_da_client(&self, config: &CliConfig) -> Result { match &config.auth { - Some(auth) => DaClient::new_with_auth(&self.url, &format!("Bearer {}", auth.access_token)), + Some(auth) => { + DaClient::new_with_auth(&self.url, &format!("Bearer {}", auth.access_token)) + } None => DaClient::new(&self.url), } }