summaryrefslogtreecommitdiffstats
path: root/atuin-client/src/api_client.rs
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@elliehuxtable.com>2023-05-17 21:28:37 +0100
committerGitHub <noreply@github.com>2023-05-17 21:28:37 +0100
commitca263834e93814105ca9ea77ab213cff0bc95faa (patch)
treefc1b1a63a890899c4b002cb11001c5b42ce824d6 /atuin-client/src/api_client.rs
parent7d5a82df14160242cdd01a0f1651dab18b41a973 (diff)
Restructure account commands to account subcommand (#984)
* Stop running triggers on history delete * Move to account management dir * Alter trigger function to only run for inserts * wip * Add atuin account subcommands, and re-org delete * Clarify docs * Delete silly dupe migration * Um where did this come from * Oops, insert only plz
Diffstat (limited to 'atuin-client/src/api_client.rs')
-rw-r--r--atuin-client/src/api_client.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/atuin-client/src/api_client.rs b/atuin-client/src/api_client.rs
index 2abb81596..5ea84b9d4 100644
--- a/atuin-client/src/api_client.rs
+++ b/atuin-client/src/api_client.rs
@@ -219,7 +219,7 @@ impl<'a> Client<'a> {
}
pub async fn delete(&self) -> Result<()> {
- let url = format!("{}/register", self.sync_addr);
+ let url = format!("{}/account", self.sync_addr);
let url = Url::parse(url.as_str())?;
let resp = self.client.delete(url).send().await?;