fixed contact form
This commit is contained in:
parent
5758185518
commit
710ebb6031
2 changed files with 9 additions and 2 deletions
|
@ -125,7 +125,7 @@ pub async fn contact_form(MultipartForm(mut form): MultipartForm<ContactForm>) -
|
|||
Ok(_) => info!("Successfully sent email"),
|
||||
Err(e) => error!("There was an error sending the email: {e}"),
|
||||
}
|
||||
HttpResponse::Ok().body("thankyou")
|
||||
HttpResponse::Ok().body("Thank you! We will get back with you shortly!")
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue