1
0

Include both analytics v1 and v2 in tree (#4527)

* Include both analytics v1 and v2 in tree

* fix sqlx cache

* fix tests
This commit is contained in:
aecsocket
2025-10-10 15:58:19 +01:00
committed by GitHub
parent c88bdda3e6
commit aec49cff7c
7 changed files with 1572 additions and 628 deletions

View File

@@ -4,6 +4,7 @@ use actix_web::{HttpResponse, web};
use serde_json::json;
pub mod analytics_get;
pub mod analytics_get_old;
pub mod collections;
pub mod friends;
pub mod images;
@@ -32,7 +33,8 @@ pub fn config(cfg: &mut web::ServiceConfig) {
web::scope("v3")
.wrap(default_cors())
.configure(limits::config)
.configure(analytics_get::config)
// .configure(analytics_get::config) // TODO: see `analytics_get`
.configure(analytics_get_old::config)
.configure(collections::config)
.configure(images::config)
.configure(notifications::config)