From bd49d1c4b55aa251f2b1d0a7c5bf48914ed25b15 Mon Sep 17 00:00:00 2001 From: Tamo Date: Fri, 29 Oct 2021 16:46:00 +0200 Subject: [PATCH] fix one small bug --- meilisearch-http/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch-http/src/main.rs b/meilisearch-http/src/main.rs index f831c0149..152c4bbcc 100644 --- a/meilisearch-http/src/main.rs +++ b/meilisearch-http/src/main.rs @@ -50,7 +50,7 @@ async fn main() -> anyhow::Result<()> { let (analytics, user) = if !opt.no_analytics { analytics::SegmentAnalytics::new(&opt, &meilisearch).await } else { - analytics::create_(&opt) + analytics::MockAnalytics::new(&opt) }; #[cfg(any(debug_assertions, not(feature = "analytics")))] let (analytics, user) = analytics::MockAnalytics::new(&opt);