remove unused dep; cargo clippy
Some checks failed
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled

This commit is contained in:
2025-04-18 17:44:21 +02:00
parent 06c5e5a9d1
commit 37b6ea6057
4 changed files with 3 additions and 6 deletions

View File

@ -196,7 +196,7 @@ WHERE day = ? AND planned_starting_time = ?
.fetch_one(db)
.await
.unwrap(); //TODO: fixme
let amount_currently_registered = i64::from(amount_currently_registered.count);
let amount_currently_registered = amount_currently_registered.count;
amount_currently_registered >= self.max_people
}

View File

@ -7,9 +7,9 @@ use rocket::{
form::Form,
fs::FileServer,
get,
http::{Cookie, Status},
http::Cookie,
post,
request::{FlashMessage, FromRequest, Outcome},
request::FlashMessage,
response::{Flash, Redirect},
routes,
time::{Duration, OffsetDateTime},
@ -30,7 +30,6 @@ use crate::{
},
SCHECKBUCH,
};
use base64::alphabet::STANDARD;
pub(crate) mod admin;
mod auth;