pub async fn update_user_info(
conn: &mut PgConnection,
user_id: Uuid,
email: &str,
first_name: &str,
last_name: &str,
country: &str,
email_communication_consent: bool,
) -> Result<UserDetail, Error>pub async fn update_user_info(
conn: &mut PgConnection,
user_id: Uuid,
email: &str,
first_name: &str,
last_name: &str,
country: &str,
email_communication_consent: bool,
) -> Result<UserDetail, Error>