diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2024-01-06 17:19:31 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-06 17:19:31 +0000 |
| commit | 4e56f5a41e5224b816e9eafed145a03cbf52fd93 (patch) | |
| tree | 3177cadbced62db723efaf6a7764f37e3c0e318a /atuin-client/src/api_client.rs | |
| parent | fix(bash): prevent input to be interpreted as options for blesh auto-complete... (diff) | |
| download | atuin-4e56f5a41e5224b816e9eafed145a03cbf52fd93.zip | |
refactor: String -> HistoryId (#1512)
Diffstat (limited to 'atuin-client/src/api_client.rs')
| -rw-r--r-- | atuin-client/src/api_client.rs | 4 |
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?; |
