mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
chore: lint
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user