We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3b7a76 commit e578b25Copy full SHA for e578b25
src/api.rs
@@ -115,7 +115,10 @@ impl APIClientAsync {
115
let client = Client::new();
116
let request = client.request(Method::GET, url);
117
let resp = Self::send_request_no_self(request, auth, None).await?;
118
- let user_identity: UserIdentity = resp.json().await?;
+ let mut user_identity: UserIdentity = resp.json().await?;
119
+ if &user_identity.tenant == "*" {
120
+ user_identity.tenant = "default_tenant".to_string();
121
+ }
122
Ok(user_identity)
123
}
124
0 commit comments