aboutsummaryrefslogtreecommitdiffstats
path: root/crates/daemon/src/aclient/api_client.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/daemon/src/aclient/api_client.rs')
-rw-r--r--crates/daemon/src/aclient/api_client.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/daemon/src/aclient/api_client.rs b/crates/daemon/src/aclient/api_client.rs
index c0688cf9..954426b4 100644
--- a/crates/daemon/src/aclient/api_client.rs
+++ b/crates/daemon/src/aclient/api_client.rs
@@ -39,7 +39,7 @@ fn make_url(address: &str, path: &str, user_id: Uuid) -> Result<String> {
Ok(url.to_string())
}
-pub(crate) fn ensure_version(response: &Response) -> Result<bool> {
+fn ensure_version(response: &Response) -> Result<bool> {
let version = response.headers().get(ATUIN_HEADER_VERSION);
let version = if let Some(version) = version {
@@ -141,7 +141,7 @@ impl<'a> Client<'a> {
})
}
- pub(crate) async fn delete_store(&self) -> Result<()> {
+ async fn delete_store(&self) -> Result<()> {
let url = make_url(self.sync_addr, "/store", self.user_id)?;
let url = Url::parse(url.as_str())?;