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 67a9523..861d734 100644 --- a/src/actions.rs +++ b/src/actions.rs @@ -49,7 +49,7 @@ pub async fn unlock( pub async fn sync( access_token: &str, refresh_token: &str, -) -> Result<(Option<String>, (String, Vec<crate::db::Entry>))> { +) -> Result<(Option<String>, (String, String, Vec<crate::db::Entry>))> { with_exchange_refresh_token_async( access_token, refresh_token, @@ -63,7 +63,7 @@ pub async fn sync( async fn sync_once( access_token: &str, -) -> Result<(String, Vec<crate::db::Entry>)> { +) -> Result<(String, String, Vec<crate::db::Entry>)> { let config = crate::config::Config::load_async().await?; let client = crate::api::Client::new(&config.base_url(), &config.identity_url()); |