diff options
author | Jesse Luehrs <doy@tozt.net> | 2020-05-03 01:07:58 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2020-05-03 01:07:58 -0400 |
commit | e28b23f713fda315d28aaf6a375a720aae166f78 (patch) | |
tree | 4e4d833a234a06e1c3efbd21030a8ac9984a2ae0 /src/actions.rs | |
parent | 047550f2368d134c9d5dca60aeb0b56fe151a323 (diff) | |
download | rbw-e28b23f713fda315d28aaf6a375a720aae166f78.tar.gz rbw-e28b23f713fda315d28aaf6a375a720aae166f78.zip |
save the private key to the local db
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()); |