We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65748e3 commit 407a3c4Copy full SHA for 407a3c4
1 file changed
rust/crates/oauth/src/builder.rs
@@ -4,7 +4,7 @@ use std::sync::Arc;
4
5
use crate::{
6
client::{DEFAULT_CALLBACK_PORT, OAuth, OAuthInner},
7
- error::{OAuthError, OAuthResult},
+ error::OAuthResult,
8
token::{OAuthToken, token_path_for_client_id},
9
};
10
@@ -66,7 +66,7 @@ impl OAuthBuilder {
66
tokio::runtime::Builder::new_multi_thread()
67
.enable_all()
68
.build()
69
- .map_err(|e| OAuthError::Other(e.to_string()))?
+ .map_err(|e| crate::error::OAuthError::Other(e.to_string()))?
70
.block_on(self.build(open_url))
71
}
72
0 commit comments