The Peculiar Fix
This commit is contained in:
parent
ca6966dd1d
commit
7e779fd3c6
2 changed files with 2 additions and 2 deletions
|
|
@ -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}");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue