mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2024-11-29 06:18:44 +03:00
chore: lint
This commit is contained in:
parent
3d02f55241
commit
74364c4e17
2 changed files with 4 additions and 3 deletions
|
@ -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,
|
||||||
|
|
|
@ -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",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue