diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-01-17 09:58:09 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-17 09:58:09 +0000 |
| commit | d9317a1a9c14dd1919f3e04537b01d5a14f8aaea (patch) | |
| tree | 8a338df6a2e534a3f694fd93852abbf716e1fbcc /atuin-client/src/api_client.rs | |
| parent | Stop control characters being printed to terminal (#1576) (diff) | |
| download | atuin-d9317a1a9c14dd1919f3e04537b01d5a14f8aaea.zip | |
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
Diffstat (limited to '')
| -rw-r--r-- | atuin-client/src/api_client.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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?; |
