aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-client/src/api_client.rs
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@elliehuxtable.com>2024-01-06 17:19:31 +0000
committerGitHub <noreply@github.com>2024-01-06 17:19:31 +0000
commit4e56f5a41e5224b816e9eafed145a03cbf52fd93 (patch)
tree3177cadbced62db723efaf6a7764f37e3c0e318a /atuin-client/src/api_client.rs
parentfix(bash): prevent input to be interpreted as options for blesh auto-complete... (diff)
downloadatuin-4e56f5a41e5224b816e9eafed145a03cbf52fd93.zip
refactor: String -> HistoryId (#1512)
Diffstat (limited to '')
-rw-r--r--atuin-client/src/api_client.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/atuin-client/src/api_client.rs b/atuin-client/src/api_client.rs
index 9007b9ab..d428d6b8 100644
--- a/atuin-client/src/api_client.rs
+++ b/atuin-client/src/api_client.rs
@@ -259,7 +259,9 @@ impl<'a> Client<'a> {
self.client
.delete(url)
- .json(&DeleteHistoryRequest { client_id: h.id })
+ .json(&DeleteHistoryRequest {
+ client_id: h.id.to_string(),
+ })
.send()
.await?;