diff options
Diffstat (limited to 'src/bin/rbw-agent/actions.rs')
-rw-r--r-- | src/bin/rbw-agent/actions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/rbw-agent/actions.rs b/src/bin/rbw-agent/actions.rs index 7289a25..9559f73 100644 --- a/src/bin/rbw-agent/actions.rs +++ b/src/bin/rbw-agent/actions.rs @@ -137,7 +137,7 @@ pub async fn sync(sock: &mut crate::sock::Sock) -> anyhow::Result<()> { if let rbw::error::Error::RequestUnauthorized = e { if let Some(refresh_token) = &db.refresh_token { let access_token = - rbw::actions::exchange_refresh_token(refresh_token) + rbw::actions::exchange_refresh_token_async(refresh_token) .await?; db.access_token = Some(access_token.clone()); rbw::actions::sync(&access_token).await |