Skip to content

Commit 407a3c4

Browse files
committed
fix(oauth): remove unused OAuthError import in builder, use full path
Made-with: Cursor
1 parent 65748e3 commit 407a3c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rust/crates/oauth/src/builder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use std::sync::Arc;
44

55
use crate::{
66
client::{DEFAULT_CALLBACK_PORT, OAuth, OAuthInner},
7-
error::{OAuthError, OAuthResult},
7+
error::OAuthResult,
88
token::{OAuthToken, token_path_for_client_id},
99
};
1010

@@ -66,7 +66,7 @@ impl OAuthBuilder {
6666
tokio::runtime::Builder::new_multi_thread()
6767
.enable_all()
6868
.build()
69-
.map_err(|e| OAuthError::Other(e.to_string()))?
69+
.map_err(|e| crate::error::OAuthError::Other(e.to_string()))?
7070
.block_on(self.build(open_url))
7171
}
7272

0 commit comments

Comments
 (0)