diff --git a/src/bin/update_data.rs b/src/bin/update_data.rs index e09cf00..9db2602 100644 --- a/src/bin/update_data.rs +++ b/src/bin/update_data.rs @@ -22,7 +22,7 @@ struct WolvesResultUser { wolves_id: String, first_name: String, last_name: String, - email: String, + contact_email: String, student_id: Option, note: Option, expiry: String, @@ -91,7 +91,7 @@ async fn add_users_wolves(db: &Pool, server: &GuildId, user: &WolvesResu ", ) .bind(&user.wolves_id) - .bind(&user.email) + .bind(&user.contact_email) .fetch_optional(db) .await {