aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@atuin.sh>2026-01-26 17:28:16 -0800
committerGitHub <noreply@github.com>2026-01-26 17:28:16 -0800
commit1cedb3145570c0a82878d283a06b6a6e5bda6c6f (patch)
treee23e74e124e7da366c38fa3d19ad1429819ad469
parentchore: update to rust 1.93 (#3101) (diff)
parentfix: do not hit sync v1 endpoints for status (diff)
downloadatuin-1cedb3145570c0a82878d283a06b6a6e5bda6c6f.zip
fix: do not hit sync v1 endpoints for status (#3102)
resolves #3054 <!-- Thank you for making a PR! Bug fixes are always welcome, but if you're adding a new feature or changing an existing one, we'd really appreciate if you open an issue, post on the forum, or drop in on Discord --> ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing
-rw-r--r--crates/atuin/src/command/client/sync/status.rs4
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(())