From d9317a1a9c14dd1919f3e04537b01d5a14f8aaea Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Wed, 17 Jan 2024 09:58:09 +0000 Subject: feat: make deleting from the UI work with record store sync (#1580) * feat: make deleting from the UI work with record store sync * sort cli delete too * teeny bit more logs --- atuin-client/src/api_client.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'atuin-client/src/api_client.rs') diff --git a/atuin-client/src/api_client.rs b/atuin-client/src/api_client.rs index 7b373599..affb3c98 100644 --- a/atuin-client/src/api_client.rs +++ b/atuin-client/src/api_client.rs @@ -286,6 +286,8 @@ impl<'a> Client<'a> { let url = format!("{}/api/v0/record", self.sync_addr); let url = Url::parse(url.as_str())?; + debug!("uploading {} records to {url}", records.len()); + let resp = self.client.post(url).json(records).send().await?; handle_resp_error(resp).await?; -- cgit v1.3.1