diff --git a/rs/packages/api/src/routes/analytics/mod.rs b/rs/packages/api/src/routes/analytics/mod.rs index 223104ae..f2918289 100644 --- a/rs/packages/api/src/routes/analytics/mod.rs +++ b/rs/packages/api/src/routes/analytics/mod.rs @@ -207,7 +207,8 @@ pub mod get { os, browser, domain, - min_duration_ms: Some(min_duration_ms.unwrap_or(5_000)), + // min_duration_ms: Some(min_duration_ms.unwrap_or(5_000)), + min_duration_ms, }; let analytics = analytics::get_analytics(query).await?; diff --git a/rs/packages/api/src/routes/app_analytics/mod.rs b/rs/packages/api/src/routes/app_analytics/mod.rs index 2cb6d2ca..04252492 100644 --- a/rs/packages/api/src/routes/app_analytics/mod.rs +++ b/rs/packages/api/src/routes/app_analytics/mod.rs @@ -232,7 +232,8 @@ pub mod get { // domain, app_kind, app_version, - min_duration_ms: Some(min_duration_ms.unwrap_or(5_000)), + // min_duration_ms: Some(min_duration_ms.unwrap_or(5_000)), + min_duration_ms, }; let analytics = app_analytics::get_analytics(query).await?;