fixing email subject and info!

This commit is contained in:
Chris Cochrun 2024-12-19 11:57:21 -06:00
parent f9bc4387a4
commit 8502d0dc92

View file

@ -314,8 +314,8 @@ impl HealthForm {
async fn send_email(&mut self) -> Result<()> {
let first = self.first_name.clone();
let last = self.last_name.clone();
let email_subject = format!("{} {} signed up for mission trip!", first, last);
info!("{first} {last} signed up for mission trip!");
let email_subject = format!("{} {} filled out a health form!", first, last);
info!("{first} {last} filled out a health form!");
let email = self.build_email().await;
let temp_file = self.get_temp_file();
let multi = if let Some((file, path)) = temp_file {