1
1
mirror of https://github.com/ellie/atuin.git synced 2024-08-18 01:10:37 +03:00

chore: fmt

This commit is contained in:
Conrad Ludgate 2021-11-21 11:29:26 +00:00
parent 8bf68fab1f
commit 7d35be5b18
No known key found for this signature in database
GPG Key ID: 3DD1A1DB3CB4BF63

View File

@ -133,7 +133,10 @@ async fn sync_upload(
pub async fn sync(settings: &Settings, force: bool, db: &mut (impl Database + Send)) -> Result<()> {
let client = api_client::Client::new(
&settings.sync_address,
settings.session_token.as_ref().ok_or_else(|| eyre!("not logged in"))?,
settings
.session_token
.as_ref()
.ok_or_else(|| eyre!("not logged in"))?,
load_encoded_key(settings)?,
)?;