diff --git a/crates/core/src/assertion_da.rs b/crates/core/src/assertion_da.rs index 98a139e..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, &auth.access_token), + Some(auth) => { + DaClient::new_with_auth(&self.url, &format!("Bearer {}", auth.access_token)) + } None => DaClient::new(&self.url), } }