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 93e4bae commit 1878900Copy full SHA for 1878900
crates/tmc-testmycode-client/src/client.rs
@@ -126,11 +126,9 @@ impl TestMyCodeClient {
126
return Err(TestMyCodeClientError::AlreadyAuthenticated);
127
}
128
129
- let auth_url = self
130
- .0
131
- .root_url
132
- .join("/oauth/token")
133
- .map_err(|e| TestMyCodeClientError::UrlParse(self.0.root_url.to_string() + "/oauth/token", e))?;
+ let auth_url = self.0.root_url.join("/oauth/token").map_err(|e| {
+ TestMyCodeClientError::UrlParse(self.0.root_url.to_string() + "/oauth/token", e)
+ })?;
134
135
let credentials = api_v8::get_credentials(self, client_name)?;
136
0 commit comments