mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2024-11-25 19:05:53 +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?;
|
||||
|
||||
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",
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue