chore: lint

This commit is contained in:
Aravinth Manivannan
2023-10-20 01:47:24 +05:30
parent 3d02f55241
commit 74364c4e17
2 changed files with 4 additions and 3 deletions

View File

@@ -87,10 +87,11 @@ pub mod runner {
.await?; .await?;
if payload.publish_benchmarks { 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 { let mcaptcha_config = MCaptchaDetails {
name: payload.description.clone(), name: payload.description.clone(),
key, key,

View File

@@ -35,7 +35,7 @@ pub mod routes {
impl Survey { impl Survey {
pub const fn new() -> Self { pub const fn new() -> Self {
Self { Self {
download: "/api/v1/survey/{survey_id}/get", download: "/api/v1/survey/takeout/{survey_id}/get",
secret: "/api/v1/survey/secret", secret: "/api/v1/survey/secret",
} }
} }