diff --git a/src/sync_csv.rs b/src/sync_csv.rs index de550f7..5cdec2c 100644 --- a/src/sync_csv.rs +++ b/src/sync_csv.rs @@ -4,7 +4,7 @@ use crate::{ }; use anyhow::Result; -use crate::utils::{parse_datetime_american, normalize_str, parse_normalize_phone}; +use crate::utils::{normalize_str, parse_datetime_american, parse_normalize_phone}; use crate::sync_paheko::{GeneralizedAnswer, sync_paheko}; use email_address::EmailAddress; use chrono::prelude::Datelike; @@ -42,7 +42,7 @@ pub async fn sync_csv( // raw row record directly from CSV #[derive(Debug, serde::Deserialize)] struct AnswerRecord { - #[serde(rename = "Date")] + #[serde(rename = "Date (MM/JJ/AAAA)")] date: String, #[serde(rename = "Email acheteur")] email: String,