The Peculiar Fix

This commit is contained in:
Andrea Toska 2025-04-26 20:20:57 +02:00
commit 7e779fd3c6
No known key found for this signature in database
GPG key ID: 5B3C83807CCBE9A2
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ struct ValidateEmailInput{
}
#[post("/v1/api/support/validate/email", data="<data>")]
pub async fn validate(data: Form<ValidateEmailInput>){
if let Err(e) = send_verification_email(&*data.email, 123456, "Andrea Test Username").await {
if let Err(e) = send_verification_email(&data.email, 123456, "Andrea Test Username").await {
println!("Failed to send verification email: {e}");
}
}