From e28b23f713fda315d28aaf6a375a720aae166f78 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 3 May 2020 01:07:58 -0400 Subject: save the private key to the local db --- src/actions.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/actions.rs') 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, Vec))> { +) -> Result<(Option, (String, String, Vec))> { 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)> { +) -> Result<(String, String, Vec)> { let config = crate::config::Config::load_async().await?; let client = crate::api::Client::new(&config.base_url(), &config.identity_url()); -- cgit v1.2.3-54-g00ecf