diff --git a/src/bin/update_data.rs b/src/bin/update_data.rs index b89c284..15d5e02 100644 --- a/src/bin/update_data.rs +++ b/src/bin/update_data.rs @@ -101,7 +101,7 @@ impl From<&WolvesResultUser> for AccountWolves { AccountWolves { id_wolves: input.wolves_id, id_student: input.student_id.to_owned(), - email: input.email.to_owned(), + email: input.contact_email.to_owned(), expiry: input.expiry.to_owned(), name_first: Some(input.first_name.to_owned()), name_second: Some(input.last_name.to_owned()), @@ -115,7 +115,7 @@ struct WolvesResultUser { wolves_id: i64, first_name: String, last_name: String, - email: String, + contact_email: String, student_id: Option, note: Option, expiry: String,