chore: fix unused imports and warnings

This commit is contained in:
Andrea Toska 2025-04-26 21:03:07 +02:00
commit 37a2329c6c
No known key found for this signature in database
GPG key ID: 5B3C83807CCBE9A2
20 changed files with 73 additions and 112 deletions

View file

@ -1,4 +1,4 @@
use rocket::{get, State, post, FromForm, put};
use rocket::{State, post, FromForm, put};
use crate::Pool;
use rocket::form::Form;
use crate::email::send_verification_email;
@ -15,7 +15,7 @@ const BAD_CODE_ERROR: Errors = Errors{
};
#[derive(FromForm)]
struct ValidateEmailInput{
pub struct ValidateEmailInput{
email: String,
}
#[post("/v1/api/support/validate/email", data="<data>")]