diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2026-01-26 17:16:23 -0800 |
|---|---|---|
| committer | Ellie Huxtable <ellie@elliehuxtable.com> | 2026-01-26 17:16:23 -0800 |
| commit | a5510518fcadb3afe11fd74e486565b13bc46501 (patch) | |
| tree | e23e74e124e7da366c38fa3d19ad1429819ad469 /crates | |
| parent | chore: update to rust 1.93 (#3101) (diff) | |
| download | atuin-a5510518fcadb3afe11fd74e486565b13bc46501.zip | |
fix: do not hit sync v1 endpoints for status
resolves #3054
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/atuin/src/command/client/sync/status.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/atuin/src/command/client/sync/status.rs b/crates/atuin/src/command/client/sync/status.rs index f0bee6ef..79ac4705 100644 --- a/crates/atuin/src/command/client/sync/status.rs +++ b/crates/atuin/src/command/client/sync/status.rs @@ -19,7 +19,7 @@ pub async fn run(settings: &Settings, db: &impl Database) -> Result<()> { settings.network_timeout, )?; - let status = client.status().await?; + let me = client.me().await?; let last_sync = Settings::last_sync()?; println!("Atuin v{VERSION} - Build rev {SHA}\n"); @@ -42,7 +42,7 @@ pub async fn run(settings: &Settings, db: &impl Database) -> Result<()> { if settings.auto_sync { println!("{}", "[Remote]".green()); println!("Address: {}", settings.sync_address); - println!("Username: {}", status.username); + println!("Username: {}", me.username); } Ok(()) |
