Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/labrinth/src/routes/v3/analytics_get/facets/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub struct ProjectPlaytimeFacets {
pub country: Vec<String>,
}

/// Get analytics facets.
/// Get analytics facets.
#[utoipa::path(
context_path = "/analytics",
tag = "analytics",
Expand Down
4 changes: 1 addition & 3 deletions apps/labrinth/src/routes/v3/analytics_get/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ use xredis::RedisPool;

pub mod facets;
mod metrics;
pub mod old;

use std::{
collections::{HashMap, HashSet},
Expand Down Expand Up @@ -61,7 +60,6 @@ pub use metrics::*;
pub fn config(cfg: &mut actix_web::web::ServiceConfig) {
cfg.service(fetch_analytics);
cfg.configure(facets::config);
cfg.configure(old::config);
}

// request
Expand Down Expand Up @@ -176,7 +174,7 @@ pub enum ProjectAnalyticsEventKind {

// logic

/// Fetch analytics data.
/// Fetch analytics data.
#[utoipa::path(
context_path = "/analytics",
tag = "analytics",
Expand Down
Loading
Loading