diff --git a/src/api/v1/mcaptcha/create.rs b/src/api/v1/mcaptcha/create.rs index 6321f045..dd7c07cf 100644 --- a/src/api/v1/mcaptcha/create.rs +++ b/src/api/v1/mcaptcha/create.rs @@ -87,10 +87,11 @@ pub mod runner { .await?; if payload.publish_benchmarks { - data.db.analytics_create_psuedo_id_if_not_exists(&key).await?;; + data.db + .analytics_create_psuedo_id_if_not_exists(&key) + .await?; } - let mcaptcha_config = MCaptchaDetails { name: payload.description.clone(), key, diff --git a/src/api/v1/survey.rs b/src/api/v1/survey.rs index c751bd6a..45f1744a 100644 --- a/src/api/v1/survey.rs +++ b/src/api/v1/survey.rs @@ -35,7 +35,7 @@ pub mod routes { impl Survey { pub const fn new() -> Self { Self { - download: "/api/v1/survey/{survey_id}/get", + download: "/api/v1/survey/takeout/{survey_id}/get", secret: "/api/v1/survey/secret", } }