remove the Version Seen analytic

This commit is contained in:
Tamo 2024-04-16 18:48:03 +02:00
parent 0661c86f16
commit 70ce0095ea
1 changed files with 0 additions and 4 deletions

View File

@ -355,11 +355,7 @@ struct VersionResponse {
async fn get_version(
_index_scheduler: GuardedData<ActionPolicy<{ actions::VERSION }>, Data<IndexScheduler>>,
req: HttpRequest,
analytics: web::Data<dyn Analytics>,
) -> HttpResponse {
analytics.publish("Version Seen".to_string(), json!(null), Some(&req));
let build_info = build_info::BuildInfo::from_build();
HttpResponse::Ok().json(VersionResponse {