diff options
Diffstat (limited to 'src/actions.rs')
-rw-r--r-- | src/actions.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions.rs b/src/actions.rs index bda8670..0d8c88d 100644 --- a/src/actions.rs +++ b/src/actions.rs @@ -259,7 +259,7 @@ where { match f(access_token) { Ok(t) => Ok((None, t)), - Err(crate::error::Error::RequestUnauthorized) => { + Err(Error::RequestUnauthorized) => { let access_token = exchange_refresh_token(refresh_token)?; let t = f(&access_token)?; Ok((Some(access_token), t)) @@ -284,7 +284,7 @@ where { match f(access_token).await { Ok(t) => Ok((None, t)), - Err(crate::error::Error::RequestUnauthorized) => { + Err(Error::RequestUnauthorized) => { let access_token = exchange_refresh_token_async(refresh_token).await?; let t = f(&access_token).await?; |