mirror of
https://github.com/ellie/atuin.git
synced 2024-09-11 21:18:22 +03:00
chore: fmt
This commit is contained in:
parent
8bf68fab1f
commit
7d35be5b18
@ -133,7 +133,10 @@ async fn sync_upload(
|
|||||||
pub async fn sync(settings: &Settings, force: bool, db: &mut (impl Database + Send)) -> Result<()> {
|
pub async fn sync(settings: &Settings, force: bool, db: &mut (impl Database + Send)) -> Result<()> {
|
||||||
let client = api_client::Client::new(
|
let client = api_client::Client::new(
|
||||||
&settings.sync_address,
|
&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)?,
|
load_encoded_key(settings)?,
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user