fix: add docs to CSV date column name
This commit is contained in:
parent
99800b8814
commit
7739242136
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue