chore: fix unused imports and warnings
This commit is contained in:
parent
f0eb152b7d
commit
37a2329c6c
20 changed files with 73 additions and 112 deletions
|
|
@ -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>")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue